|Code||Can be called by||Definition|
|31||4D View Pro area - 4D Write Pro area - Form - Hierarchical List - Input - List Box||The selection in the object is modified|
This event can be generated in different contexts.
4D View Pro
The current selection of rows or columns is modified. In this context, the event object returned by the
FORM Event command contains:
|description||text||"On Selection Change"|
|objectName||text||4D View Pro area name|
|sheetName||text||Name of the sheet of the event|
|oldSelections||object||Cell range before change|
|newSelections||object||Cell range after change|
If(FORM Event.code=On Selection Change) VP SET CELL STYLE(FORM Event.oldSelections;New object("backColor";Null)) VP SET CELL STYLE(FORM Event.newSelections;New object("backColor";"red")) End if
The current record or the current selection of rows is modified in a list form.
This event is generated every time the selection in the hierarchical list is modified after a mouse click or keystroke.
Input & 4D Write Pro
The text selection or the position of the cursor in the area is modified following a click or a keystroke.
This event is generated each time the current selection of rows or columns of the list box is modified.