Results 1 to 3 of 3

Thread: textbox focus

  1. #1

    Thread Starter
    Lively Member trip85's Avatar
    Join Date
    Jun 2000
    Location
    Chalfont, PA
    Posts
    106

    Question

    hello,

    this seems simple but i can't figure it out. How do I set focus on a textbox when the form is brought up?

    Please Help

    thanks in advance
    trip85

  2. #2
    Guest
    Try this:

    Code:
    Private Sub Form_Activate()
        Text1.SetFocus
    End Sub

  3. #3

    Thread Starter
    Lively Member trip85's Avatar
    Join Date
    Jun 2000
    Location
    Chalfont, PA
    Posts
    106
    thanks megatron,

    my brain finally sarting working and i figured out that i had to set the focus to the text box within my menu command.

    thanks again for replying.
    trip85

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