Results 1 to 5 of 5
  1. #1
    Hasher is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    May 2013
    Posts
    13

    Scrolling to the top on clicking a tab

    Hi all , new to the forum )



    Trying to fix a display problem with a form containing a tab control. Each time we click a tab it scrolls partly down the tab control making the tabs not visible

    This what it should look like :


    Click image for larger version. 

Name:	With.png 
Views:	10 
Size:	14.9 KB 
ID:	12217
    And this is what happens

    Click image for larger version. 

Name:	Without.png 
Views:	9 
Size:	11.2 KB 
ID:	12218

    Any suggestions please

    Thanks Paul

  2. #2
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Access is trying to fit the whole tab control on your current screen. If you can shrink the height of the tab control it would probably look fine. Otherwise you will probably need code in the Change event to put the focus on the Command Button.

  3. #3
    Hasher is offline Novice
    Windows 7 32bit Access 2007
    Join Date
    May 2013
    Posts
    13
    Thanks for your reply RuralGuy . Changing the page size isn't an option . On the Tabs events properties there isn't a 'on change' event . There is an onclick event and I tried setting the focus to the print button with this event without success.

    Any further suggestions on how I could implement this.

    Thanks Paul

  4. #4
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    53,770
    Why isn't changing the size of tab control an option? I have encountered this before and the best solution was to resize and rearrange controls so everything fits more compactly. I see a lot of white space on that image. I size forms for the smallest screen I expect my users to have. I also avoid meaningless graphics that just occupy real estate.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  5. #5
    RuralGuy's Avatar
    RuralGuy is offline Administrator
    Windows 7 64bit Access 2010 32bit
    Join Date
    Mar 2007
    Location
    8300' in the Colorado Rocky Mountains
    Posts
    12,917
    Quote Originally Posted by Hasher View Post
    On the Tabs events properties there isn't a 'on change' event . There is an onclick event and I tried setting the focus to the print button with this event without success.
    Thanks Paul
    Your are not looking at the TabControl property sheet, but a Page property sheet. Try again.

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

Similar Threads

  1. Scrolling Issue
    By need_help12 in forum SharePoint
    Replies: 0
    Last Post: 05-11-2012, 08:56 AM
  2. turn off scrolling records
    By jalb in forum Forms
    Replies: 1
    Last Post: 01-24-2012, 01:06 AM
  3. Subform scrolling issue
    By Jerry8989 in forum Forms
    Replies: 4
    Last Post: 12-08-2009, 01:12 PM
  4. scrolling text
    By gesai in forum Access
    Replies: 5
    Last Post: 05-19-2009, 07:35 AM
  5. Scrolling a combo box
    By ecbuck in forum Forms
    Replies: 0
    Last Post: 03-11-2009, 10:59 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