Can someone tallme how to determine which control on the form has focus, and how to set focus from that control to another?
thanks.
Printable View
Can someone tallme how to determine which control on the form has focus, and how to set focus from that control to another?
thanks.
For the currently selected control:
Me.ContainsFocus
For each of the built-in controls, there is usually (always?) a .Select method that will set the focus to that control. Other controls you're using may vary of course ;)