Auto Update for the user Control

simcat

New member
Joined
Feb 20, 2008
Messages
4
Programming Experience
Beginner
hello there....
i was wondering if anyone would be kind enough to help me with this problem

i have a user control (textbox) which i made a property cells style to it.
the style changes from single textbox to multitextboxes depending on the designers choice.... EVERY THING WORKS JUST FINE FOR NOW

BUT....(HERE IS THE TRICK).... i want the user control to change automatically once i change the property without rebuilding the project....

Thanx in advance...
 
Well if you don't mind changing the design a bit if you add a reg. textbox at runtime you could name the new textbox(TB.name = "something"), then you could call it with:

Dim ctr as Control() = me.controls.find('something', true)
If ctr.length > 0 Then
CType(ctr(0), Textbox).Text = "something esle"
End If
 
Back
Top