Language Reference Guide : Events : ChildMouseUp Event
 
Share this page          
ChildMouseUp Event
The ChildMouseUp event triggers whenever OpenROAD receives a WM_LBUTTONUP, WM_MBUTTONUP, or WM_RBUTTONUP message. The event is not queued but generates and fires immediately. Information about the state of the mouse is stored in a MouseData object delivered to the 4GL program in the MessageObject of the GhostExec class (see MessageFloat Attribute).
This event has the following syntax:
on ChildMouseUp [compositefieldname]
The following attributes of the FrameExec or GhostExec class are available in the ChildMouseUp event block:
MessageObject
Specifies a MouseData object that contains state information about the state of the mouse as the event occurs
OriginatorField
Specifies the field specified in the on ChildMouseUp statement
TriggerField
Specifies the FieldObject that the mouse button was released over
ReasonCode
Specifies a reason code:
RC_MOUSELEFT – The user released the left mouse button.
RC_MOUSEMIDDLE – The user released the middle mouse button.
RC_MOUSERIGHT – The user released the right mouse button.
For numeric equivalents of these system constants, see For the ChildMouseDown, MouseDown, ChildMouseUp, and MouseUp Events.
More information:
MouseUp Event
MessageObject Attribute (GhostExec class)
OriginatorField Attribute (FrameExec class)
TriggerField Attribute (FrameExec class)