How do I access a control on a form by name i.e. something on the lines of:
frmMain.Controls("btn1").Text = "Hello"
where the name will be dynamic e.g. "btn" & CStr(intCount).
The Controls method requires an integer index, how do I do the lookup?
|
Results 1 to 6 of 6
Threaded View
|
Click Here to Expand Forum to Full Width |