Results 1 to 2 of 2

Thread: which control has focus?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Aug 2002
    Location
    top of the mountain
    Posts
    234

    Question which control has focus?

    Can someone tallme how to determine which control on the form has focus, and how to set focus from that control to another?

    thanks.

  2. #2
    Fanatic Member
    Join Date
    Sep 2002
    Posts
    518
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width