Kbase P35094: How to hide a Window's menu-bar using Progress 4GL?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  01/04/2011 |
|
Status: Verified
GOAL:
How to hide a Window's menu-bar using Progress 4GL?
GOAL:
How to programmatically hide a Window's menu bar?
FACT(s) (Environment):
Progress 9.x
OpenEdge 10.x
Windows
FIX:
A menu bar cannot be hidden with the HIDE command nor via its HIDDEN and VISIBLE attributes because they are not settable.
Therefore, in order to hide a Window's Menu Bar, the unknown value (?) must be assigned to the Window's MENU-BAR attribute. e.g.:
ASSIGN C-Win:MENU-BAR = ?.
To view the menubar again, assign the menu's handle to the Window's MENU-BAR attribute. e.g.:
ASSIGN C-Win:MENU-BAR = MENU MENU-BAR-C-Win:HANDLE.