Consultor Eletrônico



Kbase P82483: How to trap for a Ctrl + LEFT-MOUSE-CLICK event on a Multiple-Selection Browse?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   17/10/2004
Status: Unverified

GOAL:

How to trap for a Ctrl + LEFT-MOUSE-CLICK event on a Multiple-Selection Browse?

GOAL:

How to catch an event when the user is clicking to select more than one row while the Ctrl key is pressed (to allow the multiple selection)?

FACT(s) (Environment):

Windows

FIX:

In order to accomplish this, define a "MOUSE-EXTEND-CLICK" trigger for the Multiple-Selection Browse. e.g.:

ON MOUSE-EXTEND-CLICK OF {&BROWSE-NAME} IN FRAME {&FRAME-NAME}
DO:
MESSAGE "User is selecting multiple rows"
VIEW-AS ALERT-BOX INFO BUTTONS OK.
END.