PCRuntimeComponentTree.selectionChanged Method [AX 2012]

Sets the current selection in accordance 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 item selected
_how
Type: FormTreeSelect Enumeration
How the item was selected.

Return Value

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

When false is returned the caller does not must update related controls.

Community Additions

ADD
Show: