Consultor Eletrônico



Kbase P72847: Unable to make a trigger to fire while menu bar is active.
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/16/2008
Status: Unverified

FACT(s) (Environment):

Solaris SPARC 8 32-bit
Progress 9.1D

SYMPTOM(s):

Unable to make a trigger to fire while menu bar is active.

Developer needs to implement a 'secret' menu item whose trigger would fire if the user is authorized to fire it and if the user knows the combination: in this case 'SHIFT-F12".

CAUSE:

The menu operates in a modal fashion. While active, it will block/ignore all input except that corresponding to one of available legitimate accelerators.

FIX:

1. If using Static menus: Design the menu and its items to include the 'secret' item. Use programming logic to make it SENSITIVE only if the current user is authorized to use it.

2. If using Dynamic Menus: Build the menu and its items dynamically to correspond to the user's access permissions.

See the Progress Programming Handbook for code samples implementing both Static and Dynamic menus.