Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic I want show the Scrollbars always. (Read 1893 times)
grayhound
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 19
Joined: Nov 8th, 2006
I want show the Scrollbars always.
Dec 15th, 2006 at 12:17am
Print Post  
I want show the Scrollbars always.  this is my code.

     this.flowChart.HScrollBar.Visible = true;


this.flowChart.VScrollBar.Visible = true;


this.flowChart.ShowScrollbars = true;

but when the flowChart.DocExtents is small than the flowChart.Size. , the Scrollbar will not show.

The second question is:
I want the VScrollBar is moved when the middle wheel on the mouse is rolling.
Is there any exist method?
« Last Edit: Dec 15th, 2006 at 6:00am by grayhound »  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: I want show the Scrollbars always.
Reply #1 - Dec 15th, 2006 at 6:33am
Print Post  
Many of our users wanted the scrollbars to auto-hide if the document size is smaller than the visible area, so we implemented this as the default behavior. We will have to add some property to let you enable/disable it.

You can still set the Visible property of the scrollbars yourself, but you will need to do that each time the DocExtents, ZoomFactor or MeasureUnit are changed, and after the control's ClientRectangle changes too.

You can handle the MouseWheel event as shown here:
http://mindfusion.org/cgi/Forum/YaBB.pl?board=fcnet_disc;action=display;num=1134...

Stoyan
  
Back to top
 
IP Logged
 
grayhound
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 19
Joined: Nov 8th, 2006
Re: I want show the Scrollbars always.
Reply #2 - Dec 18th, 2006 at 12:17am
Print Post  
I do it. Thanks to you
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint