Page 1 of 1

key shortcut

Posted: Tue Mar 14, 2006 2:20 pm
by clemerson
Antonio,

In this current version of the fwhx 2.7 when I am in any field as example in this of the Descricao and do I type any shortcut as example Alt+C the cursor is in the field of the shortcut doesn't return how before automatically in I finish it focus, will that be gotten right?

Image

Clemerson

Posted: Tue Mar 14, 2006 7:47 pm
by Antonio Linares
Clemerson,

Do you mean that the focus from the GET goes to the pushbutton ?

Posted: Tue Mar 14, 2006 7:50 pm
by Antonio Linares
Please try this sample. Is it ok ?

Code: Select all

#include "Fivewin.ch" 

FUNCTION MAIN() 

    LOCAL oDlg 
    LOCAL cVar := SPACE( 30 ) 

    DEFINE DIALOG oDlg 

    @ 1, 1 GET cVar 
    
    @ 3, 3 BUTTON "&OK" ACTION MsgInfo( "action" )

    ACTIVATE DIALOG oDlg; 
             CENTER 

    RETURN NIL

Posted: Tue Mar 14, 2006 8:56 pm
by clemerson
Antonio,

He didn't give right, the focus was in BUTTON.

Image

Clemerson

Posted: Tue Mar 14, 2006 8:59 pm
by clemerson
Antonio Linares wrote:Clemerson,

Do you mean that the focus from the GET goes to the pushbutton ?
did this, in the versions previous of the fwhx go back to GET when it uses shortcut ALT+????