If you know what kind of controls have a SetFocus method, you can use this:
VB Code:
Select Case TypeName(varObjectControlOnFocus) Case "TextBox", "PictureBox" 'add other types here varObjectControlOnFocus.SetFocus End Select
|
Results 1 to 14 of 14
Threaded View
|
Click Here to Expand Forum to Full Width |