UserControl and Properties
-
Hi, I have designed a usercontrol with a label-, a textbox- and a button-control. To accelarate the design-time I have tried to bring some of their properties on top of the property-editor, f.e. like this dim fLV as boolean
_ Public Property LabelVisible() As Boolean Get Return fLV End Get Set(ByVal Value As Boolean) fLV = Value Label1.Visible = fLV End Set End Property
After that I have created a form with a tab-control and about 4 sheet. When I insert my new control on page1-3, then activate page 4 and run then program, all of my self-created controls are no longer visible. This effect is shown even at design-time after an execution of my program. I'm looking for a solution , until now, I haven't found any. Maybe you have one?! Greetings Knut Freyer Bonn