General information
Title:
Complex control properties
Hi,
I wrote custom property for my control like
Control
_ myDatasource as MyCustomDataSoruceObject
__Database as String
__Tablename as string
__Fieldname as string
In Design time I work with control and set those properties . When I close form which contains my control - values goes to default values.
So far.. I understand - I have not code in the Designer.VB.. I check for some default complex control properties like Size or Point
Designer generate a code as Me.mycontrol.location = new System.Drawing.Point(112,36) - for example..
So
In my case it must be Me.mycontrol.mydatasource = New myCustomDataSourceObject("Databasevalue","TableValue","FIeldValue")
The question is.
How to generate this code in DesignTime - every time when user change values of my complex property?
Thanks
Denis
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only