Results 1 to 3 of 3
  1. #1
    sdel_nevo is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2013
    Location
    Gloucester, UK
    Posts
    402

    horizontal scroll bar

    Hi Everyone

    I have a form that is to opens full screen and is set in it's properties to not have a vertical scroll bar, this is not a problem for office users were the pc has a monitor set to 1920 x 1080 but when users with smaller screen open the form they can't see all the information.

    I can use this code to capture the screen size

    Dim x As Long
    Dim y As Long
    x = GetSystemMetrics(SM_CXSCREEN)
    y = GetSystemMetrics(SM_CYSCREEN)


    If x < 1280 And y < 1080 Then

    MsgBox "small"
    End If

    is their anyway in this code that I could make the horizontal scrollbar visible?

    I have been searching the web but can't find a way to do this

    Any help would be great

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,525
    Just set SCROLLBARS = BOTH,
    then when the screen is small, they show.

    but if you need the code:
    Me.ScrollBars = 3

  3. #3
    sdel_nevo is offline Competent Performer
    Windows 7 32bit Access 2010 32bit
    Join Date
    Apr 2013
    Location
    Gloucester, UK
    Posts
    402
    Hi ranman256

    sorry for the late reply I have been in meetings most of the day
    that's fantastic many many thanks

    steve

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

Similar Threads

  1. Replies: 2
    Last Post: 10-01-2014, 09:10 PM
  2. Replies: 13
    Last Post: 07-19-2013, 08:34 AM
  3. Horizontal presentation
    By cacabanga in forum Access
    Replies: 4
    Last Post: 02-11-2012, 07:18 PM
  4. Horizontal to Vertival
    By snoopy2003 in forum Queries
    Replies: 1
    Last Post: 03-16-2011, 04:29 PM
  5. Control of horizontal scroll bar
    By smthomer in forum Programming
    Replies: 3
    Last Post: 08-25-2010, 10:52 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