Consultor Eletrônico



Kbase P39174: How to capture the control c event in a SmartWindow?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   8/27/2003
Status: Unverified

GOAL:

How to capture the control c event in a SmartWindow?

FIX:

The way of capturing the CTRL-C you will need to do the following.

1. In the window you want to control the Control-C event, create a new Keyboard-Event.
2. Define the keys pressed for this event by pressing CTRL-C.
3. Edit the trigger which should look something like:

ON CTRL-C of Wwin DO:
MESSAGE "USER PRESSED CONTROL + C" VIEW-AS ALERT-BOX.
END.

4. Modify the query by addin the ANYWHERE, then the trigger should look like this:

ON CTRL-C OF Wwin ANYWHERE
DO:
MESSAGE "USER PRESSED CONTROL + C" VIEW-AS ALERT-BOX.
END.

This should be enough to fire the CTRL-C event anywhere in the Window.