Hi all
I want to get some ideas on this before I chase down a dead end;
I am creating controls dynamically based on user input before the form is loaded. ie;
dim lbl as new Label
lbl.name = "lblONE"
me.controls.add(lbl)
So using the above, say I create 5 labels. As they use the program I need to reference these labels to change the taext property. How do I reference the instance of the controls by name?
Thanks in advance,
Bill
I want to get some ideas on this before I chase down a dead end;
I am creating controls dynamically based on user input before the form is loaded. ie;
dim lbl as new Label
lbl.name = "lblONE"
me.controls.add(lbl)
So using the above, say I create 5 labels. As they use the program I need to reference these labels to change the taext property. How do I reference the instance of the controls by name?
Thanks in advance,
Bill