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 ...

Activate

a form becomes the active window.

Answer

an answer to an AIOBJECT Question is available.

ButtonClick

a TOOLBAR button is clicked.

Change

the contents or value of an object has changed.

ChildSig

a 'SignalChild' method was executed.

Click

the mouse button is pressed and released over an object.

Close

the close option has been selected from the system menu or a click has occurred in the window close box.

ColClick

the mouse button is pressed and released over a column header.

Deactivate

another form becomes the active window.

DoubleClick

the mouse button is pressed and released over an object, pressed and released again in a short space of time.

DragDrop

a drag-and-drop operation is in progress, and the mouse button is released over an object with a defined DropId.

DragOver

a drag-and-drop operation is in progress, and the mouse cursor is moved over an object with a defined DropId.

FormInit

a WINDOW (form) object is activated.

GotFocus

an object gains keyboard focus.

HScroll

a horizontal scroll bar within a LISTVI moved.

ItemActivate

an item within a LISTVIEW is clicked.

ItemClick

an item within a menu or a TOOLBAR is clicked.

JQueryEvent

an event has occurred witha HTMLCONTROL object or Web object.

KeyPress

an object has the keyboard focus and the user presses and releases a key.

LinkClick

a click occurs on an active URL in a RICHEDITEXT.

Load

a FORMLOAD statement is executed.

LostFocus

an object loses keyboard focus.

MouseDown

the user presses a mouse button over an object.

MouseMove

the user moves the mouse over an object.

MouseUp

the user releases a mouse button over an object.

MouseWheel

the mouse wheel button has been moved.

Move

an object is moved to a new location.

ObjMove

an object in a CONTAINER is moved.

OldEvent

any event occurs.

Orient

The device orientation changes (PL/B Web Only) (9.8B).

Paint

a portion or all of a window has been erased by another window.

PostMessage

the JavaScript 'window.postMessage' 'window.onmessage' event is detected at the browser.

Resize

an object is changed to a new size.

$RunIdle

the PLBWEB_IDLE_TIMEOUT expires.

$RunResume

a mobile device re-establishes the communications connection.

$RunSuspend

a PWS child task goes into a SUSPEND state.

SelChange

the selection or insertion point is changed in a RICHEDITTEXT.

$Suspend

a Windows WM_POWERBROADCAST event is detected by a WINDOW.

Timer

a preset time has expired on an object.

Updated

an AUTOMATION object is updated.

User

an EventSend instruction is peformed.

Validate

the data entry focal point leaves an object due to user action.

VScroll

a vertical scroll bar within a LISTVIEW has been moved.

 

See Also: Object Instructions

 



PL/B Language Reference