|
Technical answers from the trenches |
|
Hiding (and Restoring) the Main Paradox menu
| ||||
Posted: 25 March 2004 |
||||
  |
Applies to: All versions |
|||
  |
Audience: Beginner |
|||
Question: How do I hide (and restore) the main Paradox menu?Answer: To hide the main Paradox menu, use ObjectPAL to create and display a blank (empty) menu, as shown in the following code sample: method pushButton(var eventInfo Event) Var mnuNone Menu endVar mnuNone.addText( "" ) mnuNone.show() endMethod To later restore the main Paradox menu, use ObjectPAL to:
The following code sample shows how to do this: method pushButton(var eventInfo Event) removeMenu() desktopMenu() endMethod Note: The Paradox Help files suggest you only need to call removeMenu(). However, recent versions do not restore the desktop menu after removing your menu. Use desktopMenu() to do this. |
|||
|
||||||||
|
Copyright © 2000-2004, techtricks.com; All Rights Reserved. Acknowledgements, Disclaimers, Terms and Conditions. |
||||||||
|
Article last updated on 25 March 2004
|
||
|
|
||
|
[- End -]
|