Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Overview Refresh (Read 1551 times)
clam
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Nov 3rd, 2006
Overview Refresh
Dec 7th, 2006 at 11:36am
Print Post  
When I programmatically add a box to my chart, the overview control (in fitall mode) is not refreshed properly (the new box (or part of it) is visible but the area wasn't increased). When I then move the new box in the chart (by drag'n drop), the overview control gets refreshed correctly.
Calling overview.refresh or overview.update or flowchart.refresh or flowchart.update has no effect. How can I trigger the overview control to be correctly refreshed after I added a box?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Overview Refresh
Reply #1 - Dec 7th, 2006 at 12:02pm
Print Post  
Probably the Overview uses FlowChart.DocExtents to decide what part of the chart to draw. So if you create a box out of the current document area, it won't be visible. Calling FitDocToObjects should fix that.

Stoyan
  
Back to top
 
IP Logged
 
clam
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 6
Joined: Nov 3rd, 2006
Re: Overview Refresh
Reply #2 - Dec 7th, 2006 at 12:06pm
Print Post  
Yes, that worked. Thank you very much!
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint