The following tables list the members exposed by BrowseTree.
Name | Description | |
---|---|---|
BrowseTree Constructor | Overloaded. |
Name | Description | |
---|---|---|
AccessRightsFilter | Filter for read/write access rights. The value 0 returns all items. | |
DoNotSort | Branches and items are alphabetically sorted. If TRUE the sorting is diabled and the branches/items are in the order as returned by the server. | |
ImageIndexBranch | Index of the image displayed for branches | |
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. | |
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 | |
NameFilter | Name filter used in the the OPC server browse calls. The default is "" (no filtering). A different filter string needs to be set before the Browse method is called. |
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. | |
DataTypeFilter | Data type used in the the OPC server browse calls. The default is void (VT_EMPTY). A different type needs to be set before the Browse method is called. | |
ImageList | Image list used in the BrowsTree |
Name | Description | |
---|---|---|
Browse | Overloaded. Browse all branches/items from the named branch and build a TreeNode structure. | |
ConvertToTreeList | Convert the TreeNode structure into a TreeNode structue with branches only. The items are in a ListView structure that is referenced from the TreeNode Tag. | |
CreateTree | Browse the server from the root and build a TreeNode structure with all branches and items. | |
Dispose | ||
isBranch | Checks if a node is a branch or an item. | |
isItem | Checks if a node is an item 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. | |
RefreshSelectedBranch | The currently selected branch is refreshed from the server by executing a browse with the current filter. | |
RevertToSelf | ||
Root | Returns the TreeNode structure created in the previous CreateTree() call. | |
ShowImageList | Show all images defined in the BrowseTree ImageList |
Name | Description | |
---|---|---|
getBrowseFilter | This handler is called everytime the OPC server BrowseItemIDs method is called to get the browse filters to be used. | |
reportBrowseError | This handler is called in the TreeView mouse event handler when an error happens in the server browse access. |