|
-
Aug 16th, 2019, 10:16 AM
#1
Thread Starter
Lively Member
Panel scrollbar
Dear all,
I have a Form in which I dock a Panel to fill it.
The Panel has the autoscroll property set to True with a minimum scroll set in order to go to the bottom of the page when displaying it.
Now, I'm calling the form from some points of the application, but sometimes it opens the form with the scrollbar at the middle and the following code is resulting me underlined as error:
Code:
Form1.Pnlprincipale.autscrollposition = new Point (Panel1,0)
How can I make it so that every time I open the Form it is shown at the top of the scrollbar?
I tried with the selection of the first field from the top, but the scrollbar position is in any case set at the middle...
Thanks for your help,
A.
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|