Results 1 to 2 of 2
  1. #1
    aquaraider is offline Novice
    Windows XP Access 2003
    Join Date
    Sep 2009
    Posts
    14

    Question How to set TimerInterval = 0 when a form's scroll bar got focus?

    Hello.



    I have a form which requery itself every 30 seconds by a timer event, but I would like to stop it when user scrolling this form. I thought I may use a gotfocus event for the scorll bar to set TimerInterval = 0. But how can I do this? Private Sub scrollbar_GotFocus()? It is a continuous form and scroll bar will appear by itself if there are more records than form's height, so I even don't know this scroll bar's name.

    Please give me some ideas and thanks for help!

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows XP Access 2002
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,922
    AFAIK the scroll bars have no events you can access.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Set focus to another program
    By DrewB in forum Programming
    Replies: 1
    Last Post: 06-24-2009, 06:38 AM
  2. using form's control as criteria in a query
    By brandonb in forum Access
    Replies: 0
    Last Post: 06-09-2009, 02:52 PM
  3. Replies: 1
    Last Post: 06-02-2009, 04:44 PM
  4. Keeping focus
    By ronatnc in forum Forms
    Replies: 0
    Last Post: 12-16-2008, 12:32 AM
  5. Auto Scroll in a Form
    By delliott777 in forum Forms
    Replies: 0
    Last Post: 05-31-2008, 07:02 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums