Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to translate my menu into tree form
Message
 
 
To
15/01/1999 22:10:48
Juan Kh
Dataprop Technologies
Sungai Petani, Malaysia
General information
Forum:
Visual FoxPro
Category:
Menus & Menu designer
Miscellaneous
Thread ID:
00176806
Message ID:
00176866
Views:
25
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
Map
View

Click here to load this message in the networking platform