
This method counts the number of tree items in the TreeControl.
Returns the number of visible tree items as an integer.
The recommended convention is passing the control identifier directly:
Copy Code |
|---|
(Odcl_Tree_GetVisibleCount MyControlReference [as Reference]) |
An alternative convention is to identify the control by providing the project file, the dialog name and the control name:
Copy Code |
|---|
(Odcl_Tree_GetVisibleCount ProjectFile [as String] DialogName [as String] ControlName [as String]) |
Copy Code |
|---|
; Get the number of visible nodes (Setq rValue (Odcl_Tree_GetVisibleCount MyProject_MyForm_MyControl)) |
Tree_EnsureVisible, Tree_GetFirstVisibleItem, Tree_GetNextVisibleItem, Tree_GetPrevVisibleItem