Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic On Move event (Read 1056 times)
pelion
Junior Member
**
Offline



Posts: 61
Joined: Nov 12th, 2006
On Move event
May 17th, 2007 at 12:42am
Print Post  
Hi, I want to force a FitDocToObjects each time a chart item is moved on the FlowChart, so I tried capturing the SelectionMove event.

This, however, appears only to work when there are 2 or more items selected, not a single item (in my case this is currently a table, but will extend to other objects)

Is this functionality i'm seeing correct? Is there another event I can capture, or a property that will recognise a single object as a selection?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: On Move event
Reply #1 - May 17th, 2007 at 6:01am
Print Post  
Hi,

You could enable the FlowChart.AutoSizeDoc property instead of calling FitDocToObjects from the SelectionMoved event handler.

Otherwise, you would have to handle some more events, such as BoxModified,ArrowModified, TableModified.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint