On After Edit
Code | Can be called by | Definition |
---|---|---|
45 | 4D View Pro area - 4D Write Pro area - Combo Box - Form - Input - Hierarchical List - List Box - List Box Column | The contents of the enterable object that has the focus has just been modified |
Description
General case
This event can be used filter the data entry in keyboard enterable objects at the lowest level.
When it is used, this event is generated after each change made to the contents of an enterable object, regardless of the action that caused the change, i.e.:
- Standard editing actions which modify content like paste, cut, delete or cancel;
- Dropping a value (action similar to paste);
- Any keyboard entry made by the user; in this case, the
On After Edit
event is generated after theOn Before Keystroke
andOn After Keystroke
events, if they are used. - Any modification made using a language command that simulates a user action (i.e.,
POST KEY
).
Within the On After Edit
event, text data being entered is returned by the Get edited text
command.
4D View Pro
The object returned by the FORM Event
command contains:
Property | Type | Description |
---|---|---|
code | longint | On After Edit |
description | text | "On After Edit" |
objectName | text | 4D View Pro area name |
sheetName | text | Name of the sheet of the event |
action | text | "editChange", "valueChanged", "DragDropBlock", "DragFillBlock", "formulaChanged", "clipboardPasted" |
Depending on the action
property value, the event object will contain additional properties.
action = editChange
Property | Type | Description |
---|---|---|
range | object | Cell range |
editingText | variant | The value from the current editor |