Sequence of Table Method Execution
The nature of the user interface in MorphX is event driven. This means that when an event recognized by MorphX occurs, the X++ programmer can modify the systems default behavior if necessary. A table does not have a visual representation of its own. The only way to work with the data in your tables through the user interface, is through a form. Both forms and tables have methods that are executed in response to the actions performed by the end user. Below are descriptions of typical sequences of events that occur in a normal MorphX application.
|
When the end user... |
This sequence of table methods is called... |
|---|---|
|
runs a form which is using a table as a data source. |
HelpField |
|
inserts a new record in a form using CTRL+N |
InitValue |
|
jumps from field to field when entering data in a record by using the Tab key |
ValidateField, HelpField |
|
enters a new record in a form and leaves the current record, for example, by using the arrow keys to move to the next line in a grid |
ValidateWrite, Write, Insert |
|
modifies an existing record in a form and leaves the current record, for example, by using the arrow keys to move to the next line in a grid |
ValidateWrite, Write, Update |
|
places the mouse pointer over the current field in the current record in a form |
TooltipField |