Kbase 12389: How to program the left mouse button to activate popup menu
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  5/10/1998 |
|
How to program the left mouse button to activate popup menu
By default, PROGRESS uses the right mouse button to activate popup
menus. However, you can change this default action. For example, if
you run the User Interface Builder and access the Section Editor, the
INSERT 4GL button activates a popup menu.
To program the left mouse button to activate popup menus, follow
these steps:
1> Define a popup menu.
2> Define a widget handle for this popup menu.
3> Use the POPUP-MENU widget handle to associate the popup menu
with the button:
ASSIGN btn_insert:POPUP-MENU = MENU mnu_Quick4GL:HANDLE.
4> Use the MENU-MOUSE attribute to specify that the left mouse button
activates the popup menu:
ASSIGN btn_insert:MENU-MOUSE = 1.
Progress Software Technical Support Note # 12389