Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Scrolling and table cell editing (Read 1681 times)
pelion
Junior Member
**
Offline



Posts: 61
Joined: Nov 12th, 2006
Scrolling and table cell editing
Nov 16th, 2006 at 1:33am
Print Post  
Hi,

I have noticed that when I place a flowchart on a form, either docked or otherwise, it automatically has a vertical scroll bar (even, it appears when I set the VScrollBar.Enabled property to false). Also, when a layout extends the chart objects beyond the set scroll limit, it requires me to move the object before the scroll bars update (I particularly notice this with the horizontal bar that does not appear at all sometimes).

Is it possible (through config, or programatically) to limit the scrollable area to that of either the given viewspace, or that of the images' required area?

On a separate point, is it possible (through config, or programatically) to limit InPlaceEditting to specific objects, rather than all objects on the flowchart, or even better, to specific cells (probably within columns, rather than disparate ones) in a table? I am sure I can do this through handling the appropriate events, but it would be nice if I could do this more efficiently.

Also, if I buy, I will be getting the source code option, so, within reason, I am happy to accept that this can be done relatively simple through code changes.
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Scrolling and table cell editing
Reply #1 - Nov 16th, 2006 at 6:22am
Print Post  
Hi,

The scrollbars appear automatically if the set document size is large than the current viewport size. The document size is set through the DocExtents property or the FitDocToObjects method.

AutoSizeDoc works only when the position of an object is changed interactively, and that's why you must move an object to see the scrollbars update. To resize the document after changing the position of objects programmatically or through automatic layouts, call FitDocToObjects.

At this time you can limit inplace editing only by handling events. Use TableInplaceEditing for tables and cells or BoxInplaceEditing for boxes.

Stoyan
  
Back to top
 
IP Logged
 
pelion
Junior Member
**
Offline



Posts: 61
Joined: Nov 12th, 2006
Re: Scrolling and table cell editing
Reply #2 - Nov 16th, 2006 at 8:42pm
Print Post  
Perfect, thanks again Stoyo
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint