Search
EBehavior Enumeration
See Also
 



Members of this enumeration specify how the control should respond to users' actions and can be assigned to the flowchart's Behavior property.

 Syntax

VB6  Copy Code

Public Enum EBehavior

C++  Copy Code

enum EBehavior

 Members

  Member name Value Description

bhModify

0

Users can only select existing shapes and arrows, move and modify them. Clicking on empty document area and dragging selects multiple diagram items.

bhCreateBox

1

Users can create boxes by drawing with the mouse. Clicking a diagram element selects it and it can be modified. CTRL + dragging selects multiple objects.

bhCreateArrow

2

Dragging the mouse when a box is pointed creates a new arrow. If the mouse does not point to a box, selection is created. Clicking on any object selects it.

bhFlowChart

3

Default mode for work with flowcharts. Dragging the mouse over empty document area creates a box, and over a box creates an arrow. Clicking on any object selects it. CTRL + dragging selects multiple objects.

bhTableRelations

4

Suitable for creating database schemes and entity-relationship diagrams. Dragging the mouse over empty document area creates a table, and over table's row creates an arrow. Clicking on any object selects it. CTRL + dragging selects multiple objects.

bhCreateTable

5

Users can create only tables. Clicking a diagram item selects it and it can be modified. CTRL + dragging selects multiple objects.

bhPanAndModify

6

Users can only select existing shapes and arrows, move and modify them. Clicking on empty document area and dragging scrolls the document.

bhDoNothing

7

The control ignores users actions with the mouse, but raises the appropriate mouse events. This mode allows applications to implement their own mouse-drawing behavior, disabling the FlowChartX default response to users actions.

bhDrawLines

8

The control creates DecorationLine objects when the user draws with the mouse.

bhSelectOnly

9

Allow only selection of existing items. Modifying them or drawing new ones is disabled.

bhPan

10

Dragging with the mouse pans the view.

bhMoveNodes

11

Dragging with the mouse moves the node under mouse pointer.

bhMoveLabels

12

Dragging with the mouse moves the label under mouse pointer.

bhZoom

13

Dragging with the mouse draws a lasso tool that zooms the diagram view to selected rectangular area.

 See Also