i wantto disable some menus (full) or some submenus as a parameter. Which is saved in a params.dbf file . Why? some clients doesnt using some modules of my app for example invoice module. So that i wantto close/disable or hide these menus for usage for this client.Create a function in your procedure file that reads the params dbf and locates the corect record that gives informaiton about whether ot not the particular menu pad should be disabled. Have this function return .F. if the pad should be disabled. Then put something like this in the skip for condition of your menu pad:
NOT MenuIsEnabaled( [Invoices] )
Alternatively, you could download GenmenuX at
http://www.meistermacneill.com/genmenux.htm. This will allow you to toally remove menu pads that you do not want avaiable.