Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Scroll bar question (Read 1613 times)
lyrock
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Sep 12th, 2011
Scroll bar question
Feb 6th, 2013 at 2:57pm
Print Post  
I am having a few question about scroll bar. I found this thread:
http://mindfusion.eu/Forum/YaBB.pl?num=1338627740/0

I can't see my horizontal scrool bar after I installed my program on another computer. I can see it on my computer during debugging. (Vertical scroll bar is showing in these two cases)

Do I have to put diagram into a ScrollViewer control or a Ruler control in order to see the scroll bar?

Thank you for helps.

yan
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Scroll bar question
Reply #1 - Feb 6th, 2013 at 3:10pm
Print Post  
ScrollViewer is a WPF control, you cannot use it with the Windows Forms version. If your DiagramView has a fixed height, it might be clipped by the form if the other computer has a lower display resolution. Conversely, if it has higher resolution, the DiagramView might be larger than diagram.Bounds and there might be no need for horizontal scrolling, in which case the scrollbar will disappear. If you don't want that to happen, you will have to set view.HScrollbar.Visible = true every time after changing the diagram size or zoom level.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
lyrock
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 16
Joined: Sep 12th, 2011
Re: Scroll bar question
Reply #2 - Feb 6th, 2013 at 3:25pm
Print Post  
You are always helpful! Thanks for the quick reply.

Have a great day!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint