Hi,
Quote:For 3 & 4, handle the TreeExpanded and TreeCollapsed events and in the event handlers rearrange the diagram and set the document bounds.
What code should I put in these events?
I tried to put
tl.Arrange(FlowChart1)
FlowChart1.FitDocToObjects(0.5)
but the chart did not arranged well.
Quote:There isn't any function that will move the whole chart. You could move with the same offset the BoundingRectangle values of all boxes and the control points of all arrows.
I tried the following codes to move the root, and hit the error Object reference not found.
Dim rootNode As Node = tl.Root
rootNode.Move(600, 340)
Quote:Currently that's possible only in the Windows Forms and ActiveX versions of the control.
Stoyan
If I would like to put a photo and a button in the nodes, what kind of controls should I use? 3rd party controls?
Thanks.
P/S : I have sent the XML to your email.