Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Horizontal Scroll Bar not activated (Read 5427 times)
ahmdsalh
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Apr 16th, 2010
Horizontal Scroll Bar not activated
Dec 1st, 2010 at 10:05am
Print Post  
Hi Stoyo,

I've placed the FCX chart on a form and it is resized to occupy the whole form.

the fcxchart document size is of course greater than the control size on the form, the problem is that the horizontal scroll bar is not activated (i.e. not adjusted to allow scrolling the whole document horizontally) while the vertical scroll bar is working fine.

So what can i do?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Horizontal Scroll Bar not activated
Reply #1 - Dec 1st, 2010 at 1:01pm
Print Post  
Hi,

Are you sure the flowchart area is larger than the form size? The default is 1000x1000 pixels, and on usual horizontal resolutions of 1280 or 1650 pixels the document area will be smaller than the control if the form is maximized. You could try calling fcx.SetDocSize from form_load to set larger document size.

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


I love YaBB 1G - SP1!

Posts: 7
Joined: Apr 16th, 2010
Re: Horizontal Scroll Bar not activated
Reply #2 - Dec 1st, 2010 at 1:17pm
Print Post  
Thanks for the reply, i'm not sure about the document size, but major part of the digram is not displayed, also i used the method FitDocToObjects to make sure the document dimensions are correct.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Horizontal Scroll Bar not activated
Reply #3 - Dec 3rd, 2010 at 7:16am
Print Post  
What values do you get if you call GetDocSize after ResizeToFit, and what are the control's width and height on the form?
  
Back to top
 
IP Logged
 
ahmdsalh
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 7
Joined: Apr 16th, 2010
Re: Horizontal Scroll Bar not activated
Reply #4 - Dec 6th, 2010 at 9:29am
Print Post  
I changed the behavior to CreateBox and i was drawing boxes at the edge of the document but also the horizontal scroll bar is not activated. what do think the problem is?
Note: I'm loading the fcxstring from a database (if this can make any difference)

(is there any settings i should adjust before loading or after loading the string)?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Horizontal Scroll Bar not activated
Reply #5 - Dec 6th, 2010 at 11:55am
Print Post  
Is the flowchart a direct child of the form or is it inside some kind of resize or scroll panel? In the latter case you might have to enable scrolling on the panel if the flowchart control's width is larger than the panel's width.
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint