PCComponentTree.selectionChanged Method [AX 2012]

Sets the current selection to the currently selected item on the form tree control.

public boolean selectionChanged(
    FormTreeItem _oldItem, 
    FormTreeItem _newItem, 
    FormTreeSelect _how)

Run On

Called

Parameters

_oldItem
Type: FormTreeItem Class
The item previously selected.
_newItem
Type: FormTreeItem Class
The new selected item.
_how
Type: FormTreeSelect Enumeration
The way the item was selected.

Return Value

Type: boolean
true if a new item was selected; otherwise, false.

When this method returns false the caller does not have to update the related controls.

Community Additions

ADD
Show: