Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Flowchart cut in Overview (Read 2536 times)
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Flowchart cut in Overview
Nov 8th, 2006 at 12:32pm
Print Post  
Try placing the Overview on the top of the form's Z order. Some other control might be hiding its last few pixels at the bottom?


Quote:
Posted by: clamPosted on: Today at 7:27am
I tried that. And I tried switching fitall off and on again. No effect
Posted by: StoyoPosted on: Today at 7:17am
Maybe it was raised before applying the Dock style, while setting the initial size. What happens if you run that code from a button click handler?
Posted by: clamPosted on: Today at 7:10am
yes
Posted by: StoyoPosted on: Today at 7:10am
Is that the overview's OnResize?
Posted by: clamPosted on: Today at 7:06am
The OnResize event gets thrown (I added an event handler). Is there something I can do inside that event handler?
Posted by: StoyoPosted on: Today at 6:50am
Well, we can't do anything if the control doesn't get the OnResize event. What exactly is the tablechartlayout you mention in the other post? If it raises any event upon layout, try running that code from the layout's event handler.

Stoyan
Posted by: clamPosted on: Today at 6:42am
Didn't help.
Posted by: StoyoPosted on: Today at 6:13am
For some reason the Overview control does not get the OnResize event when the Dock is applied the first time, so it does not refresh properly the tracking rectangle size. We have managed to work around this by explicitly setting the overview's Bounds in the form_Load handler:

Rectangle r = ovw.Bounds;
ovw.Bounds = new Rectangle(0, 0, 10, 10);
ovw.Bounds = r;

I hope that helps,
Stoyan
Posted by: Forum AdminPosted on: Today at 4:17am
*** moved from \FlowChartX\Discussion ***
Posted by: clamPosted on: Today at 12:52am
Both flowchart and overview controls are inside a tablechartlayout with dock=fill, so their size is not fix. I've send you the properties of both controls via email.
  
Back to top
 
IP Logged
 
clam
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Nov 3rd, 2006
Re: Flowchart cut in Overview
Reply #1 - Nov 9th, 2006 at 7:31am
Print Post  
I found the problem. I implemented the fitall-mechanism in my own function. The scalefactor of the overview control can't get smaller than 10. If I manually set it to 6, I'ts automatically set to 10. That's why the fitall-mode does not work. In my form, the scalefactor has to be less than 10.
Unfortunately this is not described in the documentation. I've spend a lot of time (and money) on this.
But thanks for the help.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Flowchart cut in Overview
Reply #2 - Nov 9th, 2006 at 7:45am
Print Post  
Unfortunately GDI+ crashes a lot when the scale is very small, so we've put 10 as a bit arbitrary guard value. I guess we can remove that limitation, but then you will have to be careful about the combined value of FlowChart.ZoomFactor and Overview.ScaleFactor - it shouldn't get less than 1% zoom.

Stoyan
  
Back to top
 
IP Logged
 
clam
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Nov 3rd, 2006
Re: Flowchart cut in Overview
Reply #3 - Nov 9th, 2006 at 8:03am
Print Post  
How can I remove the limitation?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Flowchart cut in Overview
Reply #4 - Nov 9th, 2006 at 9:03am
Print Post  
You can't, that's hard-coded. We will remove it in the next release.

Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint