PCComponentTree.addFormTreeItem Method [AX 2012]

Add a new form tree item.

protected int addFormTreeItem(
    str _text, 
    int _image, 
    int _children, 
    Common _data, 
    int _parent, 
    int _insertAfter)

Run On

Called

Parameters

_text
Type: str
The text of the item.
_image
Type: int
An image index in the image list.
_children
Type: int
The number of children of the item.
_data
Type: Common Table
A record associated with the item.
_parent
Type: int
The parent item index.
_insertAfter
Type: int
The child item to insert after the item.

Return Value

Type: int
The index of the new item.

Community Additions

ADD
Show: