You cant select labels with selectnextcontrol...
You can do something like:
vb.net Code:
For Each ctrl As Control In Me.Controls If TypeOf ctrl Is Label Then Me.ActiveControl = ctrl MsgBox(Me.ActiveControl.Name) End If Next
|
Results 1 to 13 of 13
Thread: [RESOLVED] Want to check all labels on form to see if Label name has certain string within it.Threaded View
|
Click Here to Expand Forum to Full Width |