Screenshot Preview

Klik! SizeLib.NET - Support

by Klik! Software - Product Type: Component / .NET WinForms / .NET Class / 100% Managed Code

Support Forum

Klik! SizeLib.Net under Infragistics hansueli.kueng [Switzerland] 27-Jul-2007 10:33:42

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
Reply


Product Search

Enter search words:

Why buy from ComponentSource?

ComponentSource offers a unique global service, used by over 1,000,000 software developers worldwide.

More Info | About Us