Print Page | Close Window

FlowGraph events and properties

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Chart Control
Forum Description: Topics Related to Codejock Chart Control
URL: http://forum.codejock.com/forum_posts.asp?TID=22697
Printed Date: 21 November 2024 at 4:38pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: FlowGraph events and properties
Posted By: lea_mar
Subject: FlowGraph events and properties
Date Posted: 23 August 2015 at 7:57am
Hello everybody.

I have some special questions about using the FlowGraph control 16.3.1 version in the VB6. May be somebody can help me.

1. I have to use the type of connection for the FlowGraph - xtpFlowGraphConnectorElbowArrow. 
When I try to create a connection arrow from a parent node to a child node
and the position of the child node is to the left of the parent node then
the arrow is drawn as the child node is the parent node and vice versa.

2. I have to drag a node and drop it to the another node in order to create a connection between nodes. When I select a node of the flowgraph and try to move this node to the another position then MouseMove and MouseUp events don't work properly. These events reports that a mouse button was not pressed.
If I try to ignore pressing the buttons and to activate the drag events on moving mouse over then the whole flowgraph is highlighted for moving together with the node. And the user should press the left button on the mouse several times to stop dragging the node and the flowgraph control. The using of the NodeLocationChange event doesn't give me the proper solution because when the user drags the node to the another node then on the dragging path another (unneeded) nodes can be found. 
Also I tried to use MouseLeftButtonUp event in the MarkupText, but this event doesn't work too.

3. And the last question: How to show/hide a node. In the control's documention was written that a node can be hidden now. But I didn't find any properties as hide, visible or something else to show/hide a node.

Could somebody please explain me the way to resolve these issues.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net