key shortcut

Post Reply
User avatar
clemerson
Posts: 58
Joined: Fri Mar 10, 2006 8:13 pm
Location: Brazil
Contact:

key shortcut

Post 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
User avatar
Antonio Linares
Site Admin
Posts: 42751
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 110 times
Been thanked: 108 times
Contact:

Post by Antonio Linares »

Clemerson,

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

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
Posts: 42751
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Has thanked: 110 times
Been thanked: 108 times
Contact:

Post by Antonio Linares »

Please try this sample. Is it ok ?

Code: Select all | Expand

#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
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
clemerson
Posts: 58
Joined: Fri Mar 10, 2006 8:13 pm
Location: Brazil
Contact:

Post by clemerson »

Antonio,

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

Image

Clemerson
User avatar
clemerson
Posts: 58
Joined: Fri Mar 10, 2006 8:13 pm
Location: Brazil
Contact:

Post 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+????
Post Reply