FlowGraphSelectedElements Collection
Description
Collection of selected elements in the Flow Graph.
For a list of all members defined in this module, see FlowGraphSelectedElements Members.
Object Model



Remarks
Selected elements will include Nodes, Connections, and Connection Points. This collection can be used to add or remove elements to/from the selection. Elements can be selected with the mouse or using methods in code.
Example
' This code will group all the currently selected nodes.
Dim pGroup As FlowGraphNodeGroup
Set pGroup = FlowGraph.ActivePage.Groups.AddGroup
Dim i As Integer
For i = 0 To FlowGraph.ActivePage.Selection.Count
Dim pNode As FlowGraphNode
Set pNode = FlowGraph.ActivePage.Selection.Item(i)
If Not pNode Is Nothing Then
pGroup.AddNode pNode
End If
Next i
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.