經 Klik! Software - 產品類型: 構件 / .NET WinForms / .NET 類 / 100% 受控代碼
您可從以下連結找到當前的資訊
在 調整大小
若您需要為此具體版本購買一份License, 請聯繫我們 以瞭解產品是否有售,以及價格。
本頁所顯示的其他資訊及僅僅用作歷史資料參考,很可能有了較大的變動。
Hello
We plan to use SizeLib.Net 3.0 under .NET Framework v1.1 under VB.NET. We downloaded the trial software and most of our requirements are working very fine.
We use as third party product Infragistics .NET Advantage and have some problems with it, e.g. with the font size of the ComboBox value items: the font of the value items seems not to be resized. When we try to work with the concept of Custom Property Scaling, we get an exeption, when running the form.
Code sample:
SlControl5.Control = Me.cboStatus
SlPropertyItem1.Property = "Size.Width"
SlPropertyItem1.PropertyType = Klik.Windows.Forms.SizeLib.v3.PropertyType.Numeric
SlPropertyItem1.ScaleType = Klik.Windows.Forms.SizeLib.v3.ScaleType.XScale
SlPropertyItem2.Property = "Size.Height"
SlPropertyItem2.PropertyType = Klik.Windows.Forms.SizeLib.v3.PropertyType.Numeric
SlPropertyItem2.ScaleType = Klik.Windows.Forms.SizeLib.v3.ScaleType.YScale
SlControl5.Properties.Add(SlPropertyItem1)SlControl5.Properties.Add(SlPropertyItem2)
We get the following exception, when we run the form:
ex.Message:
Eigenschaftenzugriff muss der Eigenschaft zugewiesen werden oder deren Wert verwenden.
ex.StackTrace:
" at Klik.Windows.Forms.SizeLib.v3.SLResizer.ControlAdded(Object sender, ControlEventArgs e)
at Klik.Windows.Forms.SizeLib.v3.SLResizer.set_MainContainer(Co ntrol value)
at Emmi.LS.ClientWindows.PLS.Auftrag.FrmAuftragUebersicht.Initi alizeComponent() in C:\Projekte\Emmi\EmmiLS\ClientWindows\PLS\Auftrag\FrmAuftrag Uebersicht.vb:line 833
at Emmi.LS.ClientWindows.PLS.Auftrag.FrmAuftragUebersicht..ctor () in C:\Projekte\Emmi\EmmiLS\ClientWindows\PLS\Auftrag\FrmAuftrag Uebersicht.vb:line 61"
Question:
Is there a general problem with Infragistics, or what are we making wrong?
Thank's for any help.
HUK
回復