Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic ShapeNodes in Lane cells? (Read 1787 times)
dklovison
YaBB Newbies
*
Offline


Need another coffee

Posts: 2
Joined: Aug 27th, 2009
ShapeNodes in Lane cells?
Aug 27th, 2009 at 5:38am
Print Post  
Can anyone tell me if a shape node can be put inside of a Lane cell? If so - how (example would be nice)?

C#
Flowchart.NET V5.2
  
Back to top
 
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: ShapeNodes in Lane cells?
Reply #1 - Aug 27th, 2009 at 6:13am
Print Post  
Hi,

You cannot put a node inside a cell, but you can position the node so that it appears to be in the cell. In order to do so, obtain the bounds of the cell of interest (by using one of the Grid.GetCellBounds overloads) and set the received rectangle as a bounds of the node.

If you allow size changes of the lane headers, you have to perform the necessary synchronization when the headers are resized, to ensure that the box sticks within its cell.

Regards,
Meppy
  
Back to top
 
IP Logged
 
dklovison
YaBB Newbies
*
Offline


Need another coffee

Posts: 2
Joined: Aug 27th, 2009
Re: ShapeNodes in Lane cells?
Reply #2 - Aug 27th, 2009 at 6:41am
Print Post  
Thanks - I was afraid of that.

The effect I'm trying to get would be like the sequence sample program with the top-most nodes fixed. If the user moved the vertical scroll bar any nodes below the top-most nodes would appear to move beneath these top-most nodes.

This effect actually happens in the Lane Grid when the "HookHeaders" is set true - all cells below will appear to scroll (float) under the top headers.

So the next question is - can such effect be achieved with a node diagram? Is this what the Z-order would do? Any example of this effect with nodes?
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint