SYSTEM.MOUSE_BUTTON_PRESSED
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.
On Motif platforms pressing the right mouse button will not set the SYSTEM.MOUSE_BUTTON_PRESSED value.
/*
** 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_FORM system variable