Method XbpTreeViewItem():insItem() Foundation
Inserts a new item (leaf) to the next sub-level.
:insItem( <oInsAfter>, <cCaption>, ;
[<nNormalImage> | <oNormalImage>], ;
[<nMarkedImage> | <oMarkedImage>], ;
[<nExpandedImage>| <oExpandedImage>], ;
[<cDllName>], [<xValue>] ) --> oItem | NIL
or
:insItem( <oInsAfter>, <oItem>, [<xValue>] ) --> oItem | NIL
This method returns the inserted XbpTreeViewItem object. If the object is not created or inserted, the return value is NIL.
The method :insItem() inserts a new XbpTreeViewItem object to the list of existing sub-items.
The parameter interface offers two possibilities for the insertion of a sub-item. Either configuration data for a new XbpTreeViewItem object or a created object can be passed as parameters. The first possibility is more comfortable to use since both methods :new() and :create() are implicitly executed and configuration data is assigned automatically to the appropriate instance variables of the new object.
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.