A Tall Form Opens in the Middle

I have a vb.net form that's relatively tall (about 800). When I open that form, instead of opening at the top of the page, its opened towards the middle and the user would have to scroll up to get to the top. Does anyone know why that happens and what to do about it

Answer this question

A Tall Form Opens in the Middle

  • SysDev

    The tab-order feature is really cool. I never noticed that.

    And thanks so much, straightening out the tab-order seems to have fixed the problem with the scroll bar. Sorry you had to worm my question out of me.


  • marina B.

    When you say scroll up, what do you mean What is the 'page' Are you saying the form appears in the middle of the screen and doesn't fit

    You can place a form anywhere you like on the screen with the location property and the StartupPosition property.



  • Irro

    hi,

    i can understand that part

    ECList wrote:
    Thank you. Yes, I do mean a windows form that doesn't fit on the screen. Sorry I wasn't more clear. I have startPosition set to "manual" and location set to 0,0,

    but not this part

    ECList wrote:
    but it still doesn't start completely at the top of the form. You still have to scroll up a bit to see the menu strip at the top.

    what do you mean is this MDI Form or you have scrollbar in your form that doesn't start in correct place

    if it has scrollbars and it start in wrong place then i guess you have a problem in your taborder so the form focus on a control in the middle of the form use your view menu >> taborder and arrange your taborder to make the first control the one on the top of your form

    hope this helps



  • Rob-Nick

    hi,

    you are wellcom

    anyway SJWhiteley said b4 there are very good programs didn't succeed for small things like the taborder

    best regards



  • hlee

    Thank you. Yes, I do mean a windows form that doesn't fit on the screen. Sorry I wasn't more clear. I have startPosition set to "manual" and location set to 0,0, but it still doesn't start completely at the top of the form. You still have to scroll up a bit to see the menu strip at the top.
  • A Tall Form Opens in the Middle