Consultor Eletrônico



Kbase P36930: How to use F2 key in a dialog
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/09/2003
Status: Unverified

GOAL:

How to use F2 key in a dialog?

FIX:

In Progress, the F2 key has a function of GO. The template of a Dialog has a WAIT-FOR GO OF FRAME {&FRAME-NAME} in its main block. Therefore, pressing F2 makes the Dialog terminate.

In order to use the F2 key, you should replace the WAIT-FOR GO by another event to wait for. (Such as WAIT-FOR "CHOOSE" OF Button_OK).