Hi,
I'm creating a UserControl that will be put on a form.
For the UserControl is it possible to pass to parameters to the properties?
For example, if I had 2 textboxes name Text1 on the UserControl and I wanted to pass a property to Text1(0) how would I do this?
I am trying to pass the UserControl properties in the following format
Has anyone any idea how to do this as I can't find it anywhere? :confused:
I'm creating a UserControl that will be put on a form.
For the UserControl is it possible to pass to parameters to the properties?
For example, if I had 2 textboxes name Text1 on the UserControl and I wanted to pass a property to Text1(0) how would I do this?
I am trying to pass the UserControl properties in the following format
Code:
UserControl.TextBoxNum(1).Text = "Test"