Method XbpTreeViewItem():expand() Foundation

Displays or hides sub-items of an XbpTreeViewItem object.

Syntax
:expand( <lExpand> ) --> lSuccess
Parameters
<lExpand>
The logical parameter <lExpand> specifies whether to display (.T.) or to hide (.F.) the items of a sub-level in a tree view.
Return

This method returns .T. (true) when the display state of sub-items has changed, otherwise it returns .F. (false).

Description

The method :expand() is used to explicitly display (expand) or hide (collapse) sub-levels in a tree view. This way, the initial state of a tree view can be defined exactly, for example.

Feedback

If you see anything in the documentation that is not correct, does not match your experience with the particular feature or requires further clarification, please use this form to report a documentation issue.