Layout Events
Event: | Description: | Routine parameters: | Applies to: |
OnChange |
Event that is started when the end user selects another tabsheet. |
<Field specification>: STRING |
Pagecontrol. |
OnClick |
Event that is started when the end user clicks on the concerned fields. |
<Field specification>: STRING |
Checkbox, radiobutton group. |
OnClose |
Event that is started when a Closeform() is executed or when the end user chooses the AMT Screens menu option "Close" (or "Close all"). The CanClose parameter determines whether the form is closed or not. The default setting for this parameter is "TRUE", which means a close of the form. This parameter only has no effect when there is a SHOWPOPUP or GOTOFORM in the OnClose event handler. In that case, the form will not be closed. On closing a form, eventual sendmessages, alerts or calls through a SHOWPOPUP or GOTOFORM instruction will be ignored. There is only one exception. A GOTOFORM that uses the option "BYE" will still be executed (meaning that the whole application will be closed). |
Canclose: BOOLEAN |
Form |
OnColumnClick |
Event that is started when the end user clicks on a column caption in the listview. warning When On The Same ListView Control The Property SortOnColumnClick Has Been Set To True, The OnColumnClick Event Will NOT Be Executed. |
<Field specification>: STRING, <Column>: INTEGER |
Listview |
OnDblClick |
Event that is started when an end user double clicks on a field in the listview. |
<Field specification>: STRING, <Row>: INTEGER, <Column>: INTEGER |
Listview |
OnEnter |
Event that is started when the end user enters the control. If the item appears in a subsession (meaning either a multi tab or popup form), the OnEnter event will not be triggered when the item was entered from outside the form. |
<Field specification>: STRING |
Editbox, buttongroup, checkbox, radiobuttongroup, Listbox, Combobox, Listview. |
OnExit |
Event that is started when the end user leaves the control. This event will not be triggered if the exit of the control means at the same time also an exit of the subsession (meaning the leaving of a multi tab or popup form). |
<Field specification>: STRING |
Editbox, buttongroup, checkbox, radiobuttongroup, Listbox, Combobox. |
OnMenuSelect |
Event that is started when a user clicks on the menu item that corresponds to the ItemIndex value that has been specified between parentheses. |
<Field specification>: STRING, <ItemIndex>: INTEGER |
Menu |
OnSelect |
Event that is started when the end user selects an item. |
<Field specification>: STRING |
Listbox, Combobox. |
OnSelectItem | Even that is started when the end users selects an item |
<Field specification>: STRING |
Listview |
OnTimer |
Event that is started when the countdown of a Timer control reaches zero. |
<Field specification>: |
Timer. |
After an event (routine) is finished the screen will be repainted as if a refresh() has been
done. See Form Flow for an overview of the form behaviour when an event is used. |