Consultor Eletrônico



Kbase 12879: ACCELERATOR KEYS ON MENUS IN TTY MODE
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   10/05/1998
ACCELERATOR KEYS ON MENUS IN TTY MODE

PROGRESS Version 7 tty mode ignores accelerator keys defined on menus.
For example, PROGRESS ignores the ACCELERATOR syntax in the following
code:
DEFINE SUB-MENU m_File MENU-ITEM m_exit ACCELERATOR F8.

In future releases you should be able to use accelerator keywords.

Workaround: Follow these steps:

1> Define a trigger using ON F8 ANYWHERE that applies CHOOSE to the
specific menu item.

2> Define the label for the menu item to include F8 as shown in the
following example.

DEFINE SUB-MENU m_File
MENU-ITEM m_exit LABEL "Exit F8"

ON F8 ANYWHERE DO:
APPLY "CHOOSE" TO MENU-ITEM m_exit IN MENU MENU-BAR-WINDOW-1.
END.

Progress Software Technical Support Note # 12879