Link Search Menu Expand Document

RClicked Event


Occurs when the right mouse button is pressed.

The following child objects are attached to the Event object.

Type Name Description
Number ShiftKey 1 if the Shift key is pressed, 0 otherwise
Number CtrlKeyKey 1 if the Ctrl key is pressed, 0 otherwise
Number AltKey 1 if the Alt key is pressed, 0 otherwise
Number xPos X coordinate of mouse pointer
Number yPos Y coordinate of mouse pointer

Example of use

Function OnRClicked(e) {
    MessageBox(strf("(%1,%2)で右クリックされました", e.xPos, e.yPos));
}