General information
Category:
Menus & Menu designer
You will need to scan the MNX file. It is a matter of scanning the file and paying attention to fields like objtype, numitems, itemnum. The record with objcode = 1 is the header record for the main menu bar items. Records with objcode=0 represent header records for individual menus.Each item in that menu will immediately follow those records. Each of these records has an item number. Essentially, it is a matter of traversing the hierarchy. I had some code that did this, but cannot find it at this point. Mike Feltman does this in the FoxExpress Framework. I am sure others up here have the code handy. When you look at the table, the parent and children relationships will be fairly evident...
>I would like to translate my menu into tree format. Is anybody knows how to do that. It got something to do with the understanding of the menu file structure, which I do not have much of. Please help.
>
>Thanks
>juan
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only