Results 1 to 6 of 6
  1. #1
    4 Star Lounger
    Join Date
    Jun 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    527
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Scroll Bars (AXP)

    Hello All,
    I have a rather long form (and no other choice) which has a vertical scroll bar attached. What I need to do is make sure that the scroll bar is all the way up when I open this form. Is there a way to make sure that this happens?

    Thanks,
    Mark

  2. #2
    Gold Lounger
    Join Date
    Jun 2001
    Location
    Crystal Beach, FL, Florida, USA
    Posts
    3,436
    Thanks
    1
    Thanked 34 Times in 34 Posts

    Re: Scroll Bars (AXP)

    Make sure the focus is on a control at the top of the form.

    And have you considered using a tab control? This solves the problem of long forms.
    Mark Liquorman
    See my website for Tips & Downloads and for my Liquorman Utilities.

  3. #3
    Plutonium Lounger
    Join Date
    Mar 2002
    Posts
    84,353
    Thanks
    0
    Thanked 29 Times in 29 Posts

    Re: Scroll Bars (AXP)

    The easiest way is to make sure that the initial focus is on a control right at the top of the form. If you can't accomplish this by setting the tab order, you can set focus to a control in code, in the On Load event of the form.

  4. #4
    4 Star Lounger
    Join Date
    Jun 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    527
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Scroll Bars (AXP)

    Thanks Mark,
    I will try what you have said. I use a tab control right now. The only problem is that the users need to see all of this data on a single sheet.

    Thanks,
    Mark

  5. #5
    4 Star Lounger
    Join Date
    Jun 2001
    Location
    Indianapolis, Indiana, USA
    Posts
    527
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Scroll Bars (AXP)

    Thanks Hans,
    I will give that a try.

    Thanks,
    Mark

  6. #6
    Gold Lounger
    Join Date
    Jun 2001
    Location
    Crystal Beach, FL, Florida, USA
    Posts
    3,436
    Thanks
    1
    Thanked 34 Times in 34 Posts

    Re: Scroll Bars (AXP)

    >>The only problem is that the users need to see all of this data on a single sheet.<<

    But if they have to scroll to see the data, then how is this better than using a tab control?
    Mark Liquorman
    See my website for Tips & Downloads and for my Liquorman Utilities.

Posting Permissions

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