The following tables list the members exposed by ShowHDABrowseTree.
Name | Description | |
---|---|---|
![]() | ShowHDABrowseTree Constructor | Constructor. An object is created for the given OPCHDABrowser and Forms TreeView control. 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 control and the items are displayed with an icon indicating the read/write access rights of the item. |
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 | This method must be called to uninstall the TreeView mouse event handler. |
![]() | 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 selcted in a treeView. C# sample: TreeNode sel = e.Node ; VB sample: Dim sel As TreeNode |
![]() | Show | Browses the server and displays the branches and items in a TreeView control. The TreeNode Tag property contains the fully qualified name of this node (item or branch). The methods isItem() and isBranch() can be used to determine what a specific TreeNode object represents. |
![]() | ShowImageList | Show all images defined in the assigned ImageList |