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]