Menu accelerators - changed behavior

Menu accelerators - changed behavior

Postby Enrico Maria Giordano » Thu Oct 25, 2007 6:33 pm

In the following sample try to press ALT-T and then T. Previously it just moved the hilite bar cyclically through the two menuitem. Now it just activates the first one. Is it possible to go back to the previous behavior?

Code: Select all  Expand view
#include "Fivewin.ch"


FUNCTION MAIN()

    LOCAL oWnd, oMenu

    MENU oMenu
        MENUITEM "&Test"

        MENU
            MENUITEM "&Test1";
                     ACTION MSGINFO( "Test1" )
            MENUITEM "&Test2";
                     ACTION MSGINFO( "Test2" )
        ENDMENU
    ENDMENU

    DEFINE WINDOW oWnd;
           MENU oMenu

    ACTIVATE WINDOW oWnd

    RETURN NIL


EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Thu Oct 25, 2007 8:01 pm

Enrico,

We have not modified anything there.

In fact those are default Windows behaviors, unless there is some kind of conflict.
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Thu Oct 25, 2007 8:15 pm

Enrico,

In Vista the first Alt+T opens the pulldown menu, then pressing T again fires the first menuitem action
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Enrico Maria Giordano » Thu Oct 25, 2007 8:33 pm

But in some earlier FWH version it worked differently... :?:

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

Postby Antonio Linares » Thu Oct 25, 2007 9:56 pm

Enrico,

With XP I get the same behavior. Going to try with Win98...
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Antonio Linares » Thu Oct 25, 2007 11:02 pm

Enrico,

Win98 behaves exactly as you describes, moving from one menuitem to another without firing the action

But XP and Vista execute the action
regards, saludos

Antonio Linares
www.fivetechsoft.com
User avatar
Antonio Linares
Site Admin
 
Posts: 42079
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby Enrico Maria Giordano » Fri Oct 26, 2007 10:07 am

But I had W98 behavior under XP using some earlier FWH version.

But it's not so important, don't worry.

EMG
User avatar
Enrico Maria Giordano
 
Posts: 8710
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: nageswaragunupudi, Willi Quintana and 94 guests