Set Panel Sroll Position When First Load

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • masteryacademy
    New Member
    • Aug 2007
    • 6

    Set Panel Sroll Position When First Load

    Hi Everyone,

    I am developing a Mobile App for Window Mobile.
    I am using C# on VS 2005.

    On a form, I got include a Panel. When I run the form, the horizontal scrollbar will appear on the Panel because it content is wider and the panel.

    But the scroll position will be on the most left as default.
    What I trying to achieve is when the form is first loaded, I want the horizontal scrollbar of the panel it will automatically scroll to the most right.

    Can anyone help me on how to achieve this ?

    Thanks,
    Regards,
    Iverson.
  • RedSon
    Recognized Expert Expert
    • Jan 2007
    • 4980

    #2
    On the load event you can set the scroll position of the bar. If you read through the MSDN docs on the control you are using it should mention how to do that. If you still need help or need help finding it post a little code snippit of the class you are using and we can see if we can help you out.

    Comment

    Working...