Namespace: Consultingwerk.Windows
Class 
TreeNodeFromDatasetStructureFactory Copy to Clipboard
Parent classes:
Inherits: Progress.Lang.Object

File:TreeNodeFromDatasetStructureFactory
Purpose:Generic factory method for nodes in the Microsoft
TreeView Control that creates nodes visualizing the
structure of a ProDataset
Author(s):Mike Fechner / Consultingwerk Ltd.
Created:Sat Nov 08 06:53:44 CET 2014
Purpose: Creates treenodes in the provided Microsoft tree visualizing the
structure of the provided ProDataset
Notes:



Top Method Summary
Options Name Purpose
+ LOGICAL CreateTreeNodes (TreeView, handle) Creates treenodes in the provided Microsoft tree visualizing the structure of the provided ProDataset
- System.Windows.Forms.TreeNode RecurseDatasetRelations (TreeView, handle, TreeNode) Add the DatasetRelations recursively to the tree


Method Detail
Top

PUBLIC LOGICAL CreateTreeNodes (TreeView, handle)

Purpose: Creates treenodes in the provided Microsoft tree visualizing the
structure of the provided ProDataset
Notes:

Parameters:
poTreeView System.Windows.Forms.TreeView
The reference to Microsoft TreeView Control
phDataset HANDLE
The handle of the ProDataset
Returns LOGICAL
Logical value indicating if Treenodes have been created or not
Top

PRIVATE System.Windows.Forms.TreeNode RecurseDatasetRelations (TreeView, handle, TreeNode)

Purpose: Add the DatasetRelations recursively to the tree
Notes:

Parameters:
poTreeView System.Windows.Forms.TreeView
The reference to Microsoft TreeView Control
phBuffer HANDLE
The handle of the current dataset buffer
poParentTreeNode System.Windows.Forms.TreeNode
The TreeNode of the current parent node
Returns System.Windows.Forms.TreeNode
The new TreeNode


©2006-2023 Consultingwerk Ltd.         info@consultingwerk.de         http://www.consultingwerk.de       15.04.2024 06:25:23