Object Events
PLBCMP GUI Only
An event is an action recognized by an object, such as clicking the mouse or pressing a key, and for which you may write code to respond. Events may occur as a result of user action or program code, or they may be triggered by the system. The following events are defined:
|
Event |
Occurs when ... |
|
a form becomes the active window. | |
|
an answer to an AIOBJECT Question is available. | |
|
a TOOLBAR button is clicked. | |
|
the contents or value of an object has changed. | |
|
a 'SignalChild' method was executed. | |
|
the mouse button is pressed and released over an object. | |
|
the close option has been selected from the system menu or a click has occurred in the window close box. | |
|
the mouse button is pressed and released over a column header. | |
|
another form becomes the active window. | |
|
the mouse button is pressed and released over an object, pressed and released again in a short space of time. | |
|
a drag-and-drop operation is in progress, and the mouse button is released over an object with a defined DropId. | |
|
a drag-and-drop operation is in progress, and the mouse cursor is moved over an object with a defined DropId. | |
|
a WINDOW (form) object is activated. | |
|
an object gains keyboard focus. | |
|
a horizontal scroll bar within a LISTVI moved. | |
|
an item within a LISTVIEW is clicked. | |
|
an item within a menu or a TOOLBAR is clicked. | |
|
an event has occurred witha HTMLCONTROL object or Web object. | |
|
an object has the keyboard focus and the user presses and releases a key. | |
|
a click occurs on an active URL in a RICHEDITEXT. | |
|
a FORMLOAD statement is executed. | |
|
an object loses keyboard focus. | |
|
the user presses a mouse button over an object. | |
|
the user moves the mouse over an object. | |
|
the user releases a mouse button over an object. | |
|
the mouse wheel button has been moved. | |
|
an object is moved to a new location. | |
|
an object in a CONTAINER is moved. | |
|
any event occurs. | |
|
The device orientation changes (PL/B Web Only) (9.8B). | |
|
a portion or all of a window has been erased by another window. | |
|
the JavaScript 'window.postMessage' 'window.onmessage' event is detected at the browser. | |
|
an object is changed to a new size. | |
|
the PLBWEB_IDLE_TIMEOUT expires. | |
|
a mobile device re-establishes the communications connection. | |
|
a PWS child task goes into a SUSPEND state. | |
|
the selection or insertion point is changed in a RICHEDITTEXT. | |
|
a Windows WM_POWERBROADCAST event is detected by a WINDOW. | |
|
a preset time has expired on an object. | |
|
an AUTOMATION object is updated. | |
|
an EventSend instruction is peformed. | |
|
the data entry focal point leaves an object due to user action. | |
|
a vertical scroll bar within a LISTVIEW has been moved. |
See Also: Object Instructions
![]() |