Microsoft Knowledge Base Article
This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved.
Terms
of Use |
Trademarks
Article ID: 162800 - Last Review: February 24, 2005 - Revision: 2.3
Genmenu5.exe Updated VFP 5.0 for Windows GENMENU Program
This article was previously published under Q162800
Genmenu5.exe is a patch containing an updated Genmenu.prg for Visual FoxPro
5.0 that addresses a number of known issues.
The following files are available for download from the Microsoft
Download Center:
Genmenu5.exe
(http://download.microsoft.com/download/vfox50/upd3/1/win98/en-us/genmenu5.exe)
For additional information about how to download Microsoft Support files, click the following article number to view the article in the Microsoft Knowledge Base:
119591Â
(http://kbalertz.com/Feedback.aspx?kbNumber=119591/EN-US/
)
How to Obtain Microsoft Support Files from Online Services
Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help to prevent any unauthorized changes to the file.
Here is the Release Notes/Readme.txt file from the updated Genmenu.prg for
Visual FoxPro 5.0.
The Genmenu.prg menu generator program has been updated to address a number
of known issues. This update runs only under version 5.0 of Visual FoxPro.
Do not use with Visual FoxPro 3.0 or previous releases.
To install the Genmenu.prg update:
Replace the existing Genmenu.prg file in the Visual FoxPro root directory
with the updated version.
Known Issues Addressed
- Handles top-level forms better, with respect to setup and cleanup code,
the Append location menu option, and removes naming conflicts
encountered when using RELEASE MENU...EXTENDED with multiple forms.
To explore the available options for integrating menus with top-level
forms in this version of GENMENU, open an .MPR file generated from a
top-level menu and read the header section. The code in this header
section offers better flexibility and ease-of-use for top-level forms.
For even more capability, you can take advantage of 4-9 additional
parameters for your menus, or add setup code to override settings,
variables, and parameters in the header section. - Updates the #PREPOPUP generator directive functionality. This directive,
for use only with shortcut menus, allows you to control where the
ACTIVATE POPUP command is placed in relation to the generated cleanup
code. By default, ACTIVATE POPUP precedes any cleanup code. To run code
before the ACTIVATE POPUP command, such as code to mark a menu item
before it displays, use #PREPOPUP.
With this version of GENMENU, you can place the #PREPOPUP directive in
the setup code, as before, or, for more flexibility, in the cleanup
code. If #PREPOPUP is used in the setup code, ACTIVATE POPUP will follow
any cleanup code. So, if you defined a procedure or function in the
cleanup code, an error would be generated. This problem can be avoided
if #PREPOPUP is used in the cleanup code, because the ACTIVATE POPUP
command is placed at the exact #PREPOPUP location.
APPLIES TO
- Microsoft Visual FoxPro 5.0 Standard Edition
| kbdownload kbbug kbfile kbinfo kbprogramming kbvfp500afix KB162800 |
Retired KB Content DisclaimerThis article was written about products for which Microsoft no longer offers support. Therefore, this article is offered "as is" and will no longer be updated.
Community Feedback System
Very often, it takes hours to solve a problem. Very often, you've looked high
and low, and have tried a lot of solutions. When you finally found it, chances
are, it was because someone else helped you. Here's your chance to give back.
Use our community feedback tool to let others know what worked for you and what
didn't.
Please also understand that the community feedback system is not warranted to be
correct, it's simply a system that we've built to let people try and help each
other. If something in a feedback response doesn't make sense to you, or you're
not comfortable making changes that the feedback talks about (like registry
edits), please consult a professional.
Thank you for using kbAlertz.com Feedback System.
-- Scott Cate
Be the first to leave feedback, to help others about this knowledge base
article.
(Optional) Name
(Optional)
Public URL Or Email
Comments
No
HTML -- Text Only Please