The following tables list the members exposed by ShowHDABrowseTreeList.
Name | Description | |
---|---|---|
![]() | ShowHDABrowseTreeList Constructor | Constructor. An object is created for the given OPCHDABrowser and TreeView/ListView dialogs. No OPC server access is done in this constructor. The Show() method must be called to browse the server and display the result. A mouse handler is installed for the specified TreeView control. The OneLevelBrowseMode is selected. Initially only the root level is browsed. The mouse handler browses the branches whenever a branch is selected for the first time. The default browse ImageList is assigned to the TreeView/ListView control. |
Name | Description | |
---|---|---|
![]() | BrowseModeOneLevel | If true the the server browsing is done on demand. Initially only one level is browsed. Sub-branches are browsed from the TreeView event handler when a yet unbrowsed branch is selected. If false then the whole server tree structure is browsed and a corresponding TreeNode structure is built. NOTE: With complex servers this may take a long time. |
![]() | ImageIndexBranch | Index of the image displayed for a branch |
![]() | ImageIndexBranchSelected | Index of the image displayed for the selected branch |
![]() | ImageIndexItem | Base Index of the image group the item identification. The item accessRight code is added and the image with this index is displayed. |
![]() | ImageList | Image list used in the BrowsTree |
![]() | ItemCodeIndex | Code used to identify items and branches in TreeNode.ImageIndex The isBranchand isItem methods use thye definition to find the type of the node. Default: Item: >= 2 |
Name | Description | |
---|---|---|
![]() | Dispose | Must be called to uninstall the event handlers |
![]() | isBranch | Checks if a node is a branch or a leaf. |
![]() | isLeaf | Checks if a node is a leaf or a branch |
![]() | ItemName | Get the full name of the item/branch in the specified branch. This method is typically used to get the name of the node selected in a treeView. C# sample: TreeNode sel = e.Node ; VB sample: |
![]() | Show | Browses the server and displays all branches in the TreeView control and the items of the selected branch in the ListView control. |
![]() | ShowImageList | Show all images defined in the BrowseTree ImageList |