Page 1 of 1

ScrollBar

Posted: Wed Aug 11, 2010 11:38 pm
by jjc
Hi All,
i wonder if there is a possibility to have a Scrollbar in the Form , i need that because i have a huge of data to show and cannot split the data in different Forms;
i tried in the option but not luck.

Thanks for your attention.

Have a good day.

Cheers

ScrollBar

Posted: Thu Aug 12, 2010 3:48 am
by Alex K.
Hello,

You can use the following code:

Code: Select all

Form1.Control.Controls.Add(new VScrollBar());
Thank you.

ScrollBar

Posted: Thu Aug 12, 2010 5:48 am
by jjc
Thanks so much Aleksey,
i could add a ScrollBar but i need to set up it because when i move it in the Form did not happen anything so i ask if you have a Documentation wher ei can read how set up the VScrollBar.

Have a good day.

Cheers

ScrollBar

Posted: Thu Aug 12, 2010 6:38 am
by Alex K.
Hello,

You may use the following code to write handling of events for the scroll bar:

Code: Select all

Form1.Control.AutoScroll = true;
Thank you.