Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Can be a flowchart put insede a Container or Group (Read 3844 times)
chiru29
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 35
Location: Hyderabad
Joined: Jul 16th, 2010
Can be a flowchart put insede a Container or Group
Jul 16th, 2010 at 6:27am
Print Post  
Hi,

I have a flowchart of type Flowchart.

i need to display this inside a box (It can be anything, but should have a border & should support Incoming & outgoing links).

Which control will be the best choice for this?
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Can be a flowchart put insede a Container or G
Reply #1 - Jul 16th, 2010 at 6:48am
Print Post  
Hi,

You could create a container - a box whose Style is set to bsCotnainer and LayoutStyle to lsCustom - and then add child boxes to it.

Another option could be to use ActiveX boxes as shown in the "ActiveX Nodes" sample project. This does not integrate very well with the outer flowchart though, e.g. event handling becomes hard and you can't draw links from boxes inside to boxes outside of the hosted chart.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
chiru29
YaBB Newbies
*
Offline


I love YaBB 1G - SP1!

Posts: 35
Location: Hyderabad
Joined: Jul 16th, 2010
Re: Can be a flowchart put insede a Container or G
Reply #2 - Jul 16th, 2010 at 6:51am
Print Post  
Thanks Stoyo.

Can i add a existing flowchart to the container?


Regards
Chiru
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Can be a flowchart put insede a Container or G
Reply #3 - Jul 16th, 2010 at 7:22am
Print Post  
Since you are using the .NET version that changes things a bit. Now the ContainerNode class implements containers instead of Box.Style = bsContainer. You can copy the content of the child flowchart to the parent flowchart using the CopySelection and PasteSelection methods, and then add all new nodes to a container by calling ContainerNode.Add().

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