The events listed here are standard events that apply to many different items. Items which have a standard event only include the event name in their event table - please use the entry here to read about the event.
| evAfter | Sent to a field when there is a chance it will cease to be the target field.For the JavaScript client,the data must also have changed
| pEventCode | The event code |
| pNextCode | The event code to follow the evAfter |
| pClickedField | A reference to the field which was clicked |
| pClickedWindow | A reference to the field or window which was clicked |
| pMenuLine | A reference to the menu line which was selected |
| pCommandNumber | The Omnis command number selected from a built-in menu |
| pRow | A reference to the list row |
|
| evBefore | Sent to a field when it becomes the target field
| pEventCode | The event code |
| pRow | A reference to the list row |
| pLineNumber | The line number in the list |
|
| evCanDrop | Sent to a field to test whether it can accept a drop
| pEventCode | The event code |
| pDragType | The type of data being dragged (one of the kDrag... constants) |
| pDragValue | The value being dragged |
| pDragField | The field being dragged. Either an item reference or for the JavaScript client the object name |
| pDropId | The identifier of the area of the control over which the drop is to occur.Either a line number or ident (when $hiliteline is true),or zero if the control is not list-based (or $hiliteline is false) |
| pDropRow | The row of the complex grid on which the drop is to occur. Zero if the control does not belong to a complex grid |
| pColNum | The column of the data grid on which the drop is to occur. Zero if the control is not a data grid |
|
| evClick | Notification of a click on a button or field
| pEventCode | The event code |
| pRow | A reference to the list row |
| pLineNumber | The line number in the list |
| pTimeout | If true,evClick is being sent to a push button for which $timeout has expired |
| pSystemKey | The system key pressed. If evClick or evDoubleClick list events this parameter may be set to the key changing the row eg. kUp or kDown |
|
| evClipChangedData | Sent to the field when the clipboard has changed the data ($contents)
|
| evDisabled | Sent to a field when it has been disabled
|
| evDoubleClick | Notification of a double click on a button or field
| pEventCode | The event code |
| pRow | A reference to the list row |
| pLineNumber | The line number in the list |
| pSystemKey | The system key pressed. If evClick or evDoubleClick list events this parameter may be set to the key changing the row eg. kUp or kDown |
|
| evDrag | Sent to a field when its contents are about to be dragged
| pEventCode | The event code |
| pDragType | The type of data being dragged (one of the kDrag... constants) |
| pDragValue | The value being dragged |
|
| evDragBorder | The user has possibly resized the field (and therefore other fields in the same parent) using the drag border
|
| evDragFinished | Sent to the dragged field after a drag and drop operation has been completed or cancelled
|
| evDrop | Sent to a field when a drop occurs
| pEventCode | The event code |
| pDragType | The type of data being dragged (one of the kDrag... constants) |
| pDragValue | The value being dragged |
| pDragField | The field being dragged. Either an item reference or for the JavaScript client the object name |
| pDropId | The identifier of the area of the control over which the drop is to occur.Either a line number or ident (when $hiliteline is true),or zero if the control is not list-based (or $hiliteline is false) |
| pDropRow | The row of the complex grid on which the drop is to occur. Zero if the control does not belong to a complex grid |
| pColNum | The column of the data grid on which the drop is to occur. Zero if the control is not a data grid |
|
| evEnabled | Sent to a field when it has been enabled
|
| evExecuteContextMenu | Sent to a field or remote form when a context menu item is selected
| pEventCode | The event code |
| pCommandID | The command ID of the selected remote menu item |
| pClickedField | A reference to the field which was clicked |
| pPosition | The position of the menu within the control e.g. if the menu belongs to a tab,the tab number of the tab. Zero if position information is not relevant. (JavaScript client only) |
| pControlMenu | If true,the menu is a control menu. If false,it is a context menu. (JavaScript client only) |
|
| evHidden | Sent to a field when it has been hidden
| pEventCode | The event code |
| pSidePanel | If true,this object is being hidden or shown as a side panel |
|
| evHScrolled | Sent to a field when it is scrolled horizontally
|
| evKey | Sent to the target field when a key is pressed
| pEventCode | The event code |
| pKey | The key pressed |
| pSystemKey | The system key pressed. If evClick or evDoubleClick list events this parameter may be set to the key changing the row eg. kUp or kDown |
|
| evMouseDouble | Sent to a field when the left button is double clicked inside its border
|
| evMouseDown | Sent to a field when the left button is clicked inside its border
| pEventCode | The event code |
| pMouseX | Mouse x coordinate |
| pMouseY | Mouse y coordinate |
| pMouseHwnd | Window identifier of the hwnd receiving the mouse event; the mouse coordinate parameters are relative to this hwnd |
|
| evMouseEnter | Sent to a field when the mouse enters its border
| pEventCode | The event code |
| pRow | A reference to the list row |
| pLineNumber | The line number in the list |
|
| evMouseLeave | Sent to a field when the mouse leaves its border
| pEventCode | The event code |
| pRow | A reference to the list row |
| pLineNumber | The line number in the list |
|
| evMouseUp | Sent to a field when the left button is released
| pEventCode | The event code |
| pMouseX | Mouse x coordinate |
| pMouseY | Mouse y coordinate |
| pMouseHwnd | Window identifier of the hwnd receiving the mouse event; the mouse coordinate parameters are relative to this hwnd |
|
| evOpenContextMenu | Sent to a field or a remote form or a window when a context menu is about to open
| pEventCode | The event code |
| pContextMenu | A reference to the menu instance or remote menu instance that is about to pop up as a context menu |
| pClickedField | A reference to the field which was clicked |
| pPosition | The position of the menu within the control e.g. if the menu belongs to a tab,the tab number of the tab. Zero if position information is not relevant. (JavaScript client only) |
| pToken | The token (only relevant when using $tokenmenu for the token entry field) |
| pControlMenu | If true,the menu is a control menu. If false,it is a context menu. (JavaScript client only) |
|
| evRMouseDouble | Sent to a field when the right button is double clicked inside its border
|
| evRMouseDown | Sent to a field when the right button is clicked inside its border
| pEventCode | The event code |
| pMouseX | Mouse x coordinate |
| pMouseY | Mouse y coordinate |
| pMouseHwnd | Window identifier of the hwnd receiving the mouse event; the mouse coordinate parameters are relative to this hwnd |
|
| evRMouseUp | Sent to a field when the right button is released
| pEventCode | The event code |
| pMouseX | Mouse x coordinate |
| pMouseY | Mouse y coordinate |
| pMouseHwnd | Window identifier of the hwnd receiving the mouse event; the mouse coordinate parameters are relative to this hwnd |
|
| evSent | Sent when a field value has changed due to a DDE or AppleEvent operation
| pEventCode | The event code |
| pChannelNumber | The DDE channel number (not relevant on macOS or Linux) |
| pDdeItemName | The DDE data item name used to address the received value (not relevant on macOS or Linux) |
| pDdeValue | The new value received using DDE (not relevant on macOS or Linux) |
|
| evShiftTab | Sent to the target field when the shift-tab key is pressed
|
| evShown | Sent to a field when it has been made visible
| pEventCode | The event code |
| pSidePanel | If true,this object is being hidden or shown as a side panel |
|
| evTab | Sent to the target field when the tab key is pressed
|
| evVScrolled | Sent to a field when it is scrolled vertically
|
| evWillDrop | Sent to a field before its contents are dropped on another field or window
| pEventCode | The event code |
| pDragType | The type of data being dragged (one of the kDrag... constants) |
| pDragValue | The value being dragged |
| pDropField | The field or window which is to receive the drop. Either an item reference or for the JavaScript client the object name |
| pDropId | The identifier of the area of the control over which the drop is to occur.Either a line number or ident (when $hiliteline is true),or zero if the control is not list-based (or $hiliteline is false) |
| pDropRow | The row of the complex grid on which the drop is to occur. Zero if the control does not belong to a complex grid |
| pColNum | The column of the data grid on which the drop is to occur. Zero if the control is not a data grid |
|