DEACTIVATE MENU BAR ALL Doesn't Work w/ "Bar Type" Menus

ID: Q103604

The information in this article applies to:

The DEACTIVATE MENU BAR ALL command does not deactivate menu bars on "bar type" menus because the intended purpose of bar-type menus is to have only ONE menu bar up at a time; therefore, it is unnecessary to deactivate all menu bars with one command. For example, the following code does not deactivate the menu bar:

   DEFINE MENU test BAR AT LINE 1
   DEFINE PAD test OF test PROMPT "test"
   ACTIVATE MENU test NOWAIT
   DEACTIVATE MENU BAR ALL

To deactivate the menu bar, use the following command instead:

   DEACTIVATE MENU test

Additional reference words: FoxDos FoxWin 2.50 2.50a KBCategory: kbprg KBSubcategory: FxprgGeneral

Last Reviewed: June 27, 1995