A script-enabled browser is required for this page to function properly.

SYSTEM.MOUSE_BUTTON_PRESSED System Variable

Syntax

SYSTEM.MOUSE_BUTTON_PRESSED

Description

SYSTEM.MOUSE_BUTTON_PRESSED indicates the number of the button that was clicked, either 1, 2, or 3 (left, middle, or right). The value is always a character string.

Notes:

On Motif platforms pressing the right mouse button will not set the SYSTEM.MOUSE_BUTTON_PRESSED value.

SYSTEM.MOUSE_BUTTON_PRESSED Examples

/*

** Trigger: When-Mouse-Click
** Example: When mouse button 1 is pressed,
** a help window appears.
*/
DECLARE
the_button_pressed VARCHAR(1);
BEGIN
the_button_pressed := :System.Mouse_Button_Pressed;
IF the_button_pressed = '1' THEN
Show_Window('online_help',20,5);
END IF;
END;


SYSTEM.MOUSE_BUTTON_SHIFT_STATE examples

SYSTEM.MOUSE_CANVAS examples

SYSTEM.MOUSE_FORM system variable

SYSTEM.MOUSE_ITEM examples

SYSTEM.MOUSE_RECORD examples

SYSTEM.MOUSE_RECORD_OFFSET system variable

SYSTEM.MOUSE_X_POS examples

SYSTEM.MOUSE_Y_POS examples