Consultor Eletrônico



Kbase P27087: Accelerator behaviour with Triggers, Buttons and Menu-items
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   7/2/2003
Status: Unverified

GOAL:

Accelerator behaviour with Triggers, Buttons and Menu-items

GOAL:

Why do Button and Menu accelerators NOT fire ENTRY or LEAVE triggers?

GOAL:

Why do ENTRY, LEAVE triggers not fire with Button & menu accelerators?

FIX:

When invoking a button or menu accelerator, neither the LEAVE or the ENTRY triggers are fired, nor is FOCUS moved to the button or menu item.

For example, a window has three fill-in's and a button. The button label will be "&Push", signifying that ALT-P would be the keyboard accelerator for the button CHOOSE. If a user is on fill-in-2 and invokes ALT-P, the button CHOOSE trigger will fire, but focus will remain on fill-in-2 and no LEAVE or ENTRY triggers will fire.

This is expected behavior, and furthermore is a MS-Windows and Motif standard. Please note that this applies both to buttons with accelerators defined and for buttons which themselves are defined as "default" buttons.