Can I have a message pop up when a control gets the focus
Thanks Thanks:  0
Likes Likes:  0
Results 1 to 5 of 5

Thread: Can I have a message pop up when a control gets the focus

  1. #1
    New Member
    Join Date
    Feb 2002
    Posts
    35
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

     
    I have a CommandButton control on my form, what I want to do is have a message displayed for about 10 seconds before the user clicks it. Can this be done? I was checking a control called "popup" but I do not understand it.

    Thanks

    Carol

  2. #2
    Board Regular
    Join Date
    Mar 2002
    Location
    Cincinnati, Ohio, USA
    Posts
    6,824
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    Does your commandbutton have a GotFocus event?

  3. #3
    New Member
    Join Date
    Feb 2002
    Posts
    35
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    No, it does not.

  4. #4
    Board Regular
    Join Date
    Feb 2002
    Location
    Houston, TX
    Posts
    357
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

    What does got focus or lost focus mean or do?

  5. #5
    Board Regular
    Join Date
    Mar 2002
    Location
    Cincinnati, Ohio, USA
    Posts
    6,824
    Post Thanks / Like
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Default

      
    They are events which you can place code to run.
    A textbox, for example, must have the focus to recieve input from the keyboard.
    If you exit textbox1 by tabbing, closing the form, ect... the text1.Lostfocus event should fire...
    I am still learning some of the differences between VB and VBA. Am new to VBA.
    Tom

User Tag List

Like this thread? Share it with others

Like this thread? Share it with others

Posting Permissions

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

 

 
DMCA.com