I have created a Control which has 4 textboxes. I have dragged the control into a windows Form and from this window form i need to set the text of the textboxes. Is there a way i could change the text of a textbox which is inside another control.
Thanks
David
Loading
david vassalloPosted Sep 2, 2005, 3:30 AM
Thanks again,
David
SolitairePosted Sep 1, 2005, 10:04 PM
Type the name of the container (the user control) followed by a dot and the textbox name.
Example: mycontrol.textbox1.Text = "Hello"