ScrollBar

Stimulsoft Reports.NET discussion
Post Reply
jjc
Posts: 97
Joined: Mon Apr 19, 2010 10:14 pm

ScrollBar

Post 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
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

ScrollBar

Post by Alex K. »

Hello,

You can use the following code:

Code: Select all

Form1.Control.Controls.Add(new VScrollBar());
Thank you.
jjc
Posts: 97
Joined: Mon Apr 19, 2010 10:14 pm

ScrollBar

Post 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
Alex K.
Posts: 6488
Joined: Thu Jul 29, 2010 2:37 am

ScrollBar

Post 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.
Post Reply