Skip to content

FlowGraphConnections Collection

Description

Represents a collection of Connections for a Node.

For a list of all members defined in this module, see FlowGraphConnections Members.

Object Model

FlowGraphConnections Object Model
FlowGraphConnections Diagram
FlowGraphConnection Object Model

Remarks

Connections

Example

Adds nodes, connection points, and connections to a Flow Graph.

Dim Image As FlowGraphImage  
Set Image = FlowGraph.Images.AddImage  
Image.LoadFromFile App.Path & "\Images\NodeImageCustomers.bmp"

Dim Page As FlowGraphPage  
Set Page = FlowGraph.Pages.AddPage  

Debug.Print FlowGraph.Pages.Count  

Set FlowGraph.ActivePage = Page  

Dim pTableEmployees As FlowGraphNode  
Set pTableEmployees = Page.Nodes.AddNode  

pTableEmployees.Caption = "Employee"  
pTableEmployees.Tooltip = "Employee Table"  
pTableEmployees.ImageIndex = 0  
pTableEmployees.LocationX = 50  
pTableEmployees.LocationY = 50  

pTableEmployees.AddNamedConnectionPoints "ID", xtpFlowGraphPointInput  
pTableEmployees.AddNamedConnectionPoints "Company", xtpFlowGraphPointNone  
pTableEmployees.AddNamedConnectionPoints "Last Name", xtpFlowGraphPointNone  
pTableEmployees.AddNamedConnectionPoints "First Name", xtpFlowGraphPointNone  
pTableEmployees.AddNamedConnectionPoints "E-mail Address", xtpFlowGraphPointNone  
pTableEmployees.AddNamedConnectionPoints "Job Title", xtpFlowGraphPointNone  
pTableEmployees.AddNamedConnectionPoints "Business Phone", xtpFlowGraphPointNone

Dim pConnection As FlowGraphConnection  
Set pConnection = Page.Connections.AddConnection  
pConnection.OutputPoint = pTableOrders.ConnectionPoints.FindConnectionPointByCaption("Customer ID")  
pConnection.InputPoint = pTableCustomers.ConnectionPoints.FindConnectionPointByCaption("ID")  

See Also

FlowGraphConnections Members


Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.