I've inherited a couple of fairly large VFP apps and I have been trying to read the menu files and build some documentation automatically. I am more or less wanting to process a mnx file to build either a tree-view type document or just a plain text list that includes how to get to the menu item and what command it runs. I have looked at the code for genmenu, genmenux, the oop menu project on vfpx, as well as a few snippets I found online but I am still very confused on what the records and fields mean. I didn't think I was too bad of a FoxPro programmer but trying to trace the code in genmenu makes me feel pretty dumb honestly. I can get at the prompt and the command it runs without too much issue but I am struggling trying to document the hierarchy (from the main menu to an option on a submenu or sub-submenu. Could anyone point me to some documentation for foxpro menu tables, or some fairly simple code I could read to try and wrap my head around how it works? Thanks!
If you run the built-in report below it will show you how the MNX file is structured:
Modify Report (Home() + "Tools\Filespec\60mnx.frx")
I remember using the Project Documenting Machine a while back and it gave me some pretty comprehensive artifacts. Perhaps it can help?
http://gorila.netlab.cz/pdm.html
Eric
On Mon, Nov 8, 2021 at 10:08 AM Jeff Roberts jefflroberts@gmail.com wrote:
I've inherited a couple of fairly large VFP apps and I have been trying to read the menu files and build some documentation automatically. I am more or less wanting to process a mnx file to build either a tree-view type document or just a plain text list that includes how to get to the menu item and what command it runs. I have looked at the code for genmenu, genmenux, the oop menu project on vfpx, as well as a few snippets I found online but I am still very confused on what the records and fields mean. I didn't think I was too bad of a FoxPro programmer but trying to trace the code in genmenu makes me feel pretty dumb honestly. I can get at the prompt and the command it runs without too much issue but I am struggling trying to document the hierarchy (from the main menu to an option on a submenu or sub-submenu. Could anyone point me to some documentation for foxpro menu tables, or some fairly simple code I could read to try and wrap my head around how it works? Thanks!
-- Jeff Roberts | jefflroberts@gmail.com
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]
Thank you both! I will check these out! -Jeff
On Mon, Nov 8, 2021 at 11:22 AM Eric Selje Eric@saltydogllc.com wrote:
I remember using the Project Documenting Machine a while back and it gave me some pretty comprehensive artifacts. Perhaps it can help?
http://gorila.netlab.cz/pdm.html
Eric
On Mon, Nov 8, 2021 at 10:08 AM Jeff Roberts jefflroberts@gmail.com wrote:
I've inherited a couple of fairly large VFP apps and I have been trying
to
read the menu files and build some documentation automatically. I am more or less wanting to process a mnx file to build either a tree-view type document or just a plain text list that includes how to get to the menu item and what command it runs. I have looked at the code for genmenu, genmenux, the oop menu project on vfpx, as well as a few snippets I found online but I am still very confused on what the records and fields mean.
I
didn't think I was too bad of a FoxPro programmer but trying to trace the code in genmenu makes me feel pretty dumb honestly. I can get at the
prompt
and the command it runs without too much issue but I am struggling
trying
to document the hierarchy (from the main menu to an option on a submenu
or
sub-submenu. Could anyone point me to some documentation for foxpro menu tables, or some fairly simple code I could read to try and wrap my head around how it works? Thanks!
-- Jeff Roberts | jefflroberts@gmail.com
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]
GoFish5 has a menu outliner feature if you have a MNX selected in the file list. It is on the "toolbar" above the search results list. Check out the icon that looks like a dropdown menu.
* <File * <New... * Close * ----- * <Save * <Cancel * Delete * ----- * <Refresh * ----- * <Queries & Reports... * Page Set<up... * ----- * Chan<ge Password... * <Options... * <Database Utilities... * ----- * E<xit * <Edit * <Undo * Re<do * ----- * Cu<t * <Copy * <Paste * ----- * Se<lect All * <View * <People... * E<xports/Imports * <Who's Coming List * <Navigation * First * Prior * Next * Last * <Tools * <List... * <Filter... * <Clear Filter * <Search... * <System * <Security... * <Error Log... * <Window * <Cascade * ----- * <Help * <Contents * ----- * <About
Rick White Light Computing, Inc.
www.whitelightcomputing.com
-----Original Message----- From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Jeff Roberts Sent: November 8, 2021 11:08 AM To: profoxtech@leafe.com Subject: looking docs or code for reading and exporting vfp menus that I can understand
I've inherited a couple of fairly large VFP apps and I have been trying to read the menu files and build some documentation automatically. I am more or less wanting to process a mnx file to build either a tree-view type document or just a plain text list that includes how to get to the menu item and what command it runs. I have looked at the code for genmenu, genmenux, the oop menu project on vfpx, as well as a few snippets I found online but I am still very confused on what the records and fields mean. I didn't think I was too bad of a FoxPro programmer but trying to trace the code in genmenu makes me feel pretty dumb honestly. I can get at the prompt and the command it runs without too much issue but I am struggling trying to document the hierarchy (from the main menu to an option on a submenu or sub-submenu. Could anyone point me to some documentation for foxpro menu tables, or some fairly simple code I could read to try and wrap my head around how it works? Thanks!
-- Jeff Roberts | jefflroberts@gmail.com
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html ---
[excessive quoting removed by server]
Very Nice! I never noticed that before.
On Tue, Nov 9, 2021 at 4:34 PM Rick Schummer profox@whitelightcomputing.com wrote:
GoFish5 has a menu outliner feature if you have a MNX selected in the file list. It is on the "toolbar" above the search results list. Check out the icon that looks like a dropdown menu.
- <File
\<New...Close-----\<Save\<CancelDelete-----\<Refresh-----\<Queries & Reports...Page Set\<up...-----Chan\<ge Password...\<Options...\<Database Utilities...-----E\<xit- <Edit
\<UndoRe\<do-----Cu\<t\<Copy\<Paste-----Se\<lect All- <View
\<People...- E<xports/Imports
\<Who's Coming List- <Navigation
FirstPriorNextLast- <Tools
\<List...\<Filter...\<Clear Filter\<Search...- <System
\<Security...\<Error Log...- <Window
\<Cascade------ <Help
\<Contents-----\<AboutRick White Light Computing, Inc.
www.whitelightcomputing.com
-----Original Message----- From: ProfoxTech profoxtech-bounces@leafe.com On Behalf Of Jeff Roberts Sent: November 8, 2021 11:08 AM To: profoxtech@leafe.com Subject: looking docs or code for reading and exporting vfp menus that I can understand
I've inherited a couple of fairly large VFP apps and I have been trying to read the menu files and build some documentation automatically. I am more or less wanting to process a mnx file to build either a tree-view type document or just a plain text list that includes how to get to the menu item and what command it runs. I have looked at the code for genmenu, genmenux, the oop menu project on vfpx, as well as a few snippets I found online but I am still very confused on what the records and fields mean. I didn't think I was too bad of a FoxPro programmer but trying to trace the code in genmenu makes me feel pretty dumb honestly. I can get at the prompt and the command it runs without too much issue but I am struggling trying to document the hierarchy (from the main menu to an option on a submenu or sub-submenu. Could anyone point me to some documentation for foxpro menu tables, or some fairly simple code I could read to try and wrap my head around how it works? Thanks!
-- Jeff Roberts | jefflroberts@gmail.com
--- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html
[excessive quoting removed by server]