PCRuntimeComponentTree.addFormTreeItem Method [AX 2012]

Adds a new form tree item.

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

Run On

Called

Parameters

_text
Type: str
The text of the item.
_image
Type: int
An image to index into the image list.
_children
Type: int
The number of children.
_data
Type: PCRuntimeComponent Class
The data associated with the item.
_parent
Type: int
The parent item index.
_insertAfter
Type: int
The child item to insert after.

Return Value

Type: int
The index of the new item.

Community Additions

ADD
Show: