Consultor Eletrônico



Kbase P117352: How to set the focus to a particular widget in a dialog box?
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

GOAL:

How to set the focus to a particular widget in a dialog box?

GOAL:

How to set focus to an object when dialog box is initialized?

FIX:

Dialog boxes have a different behavior when dealing with tab order and focus due to its modal characteristic. The following FOCUS option can be used:

WAIT-FOR GO OF FRAME {&FRAME-NAME} FOCUS btnfirst.
When the dialog is initialized the focus will be in "btnfirst" object.