Not sure if anyone has mentioned this before, did do a search first and couldn’t find anything.
File menu items can be created via the Visual controls on the compiler before the compiled application program runs, but is is possible to ‘grey out’ / disable / enable child menu items during runtime via hescript ? eg if I create a top menu called say convert, and under convert it had the child items ‘to_xls’, ‘to_pdf’, ‘show chart’, I would only want the child items to show once say the input data file was read in, as it would make no sense to have them enabled before the data was available to convert. Is this possible ? Tried to read the hescript section and couldn’t find anything, but I may have been searching using the wrong keywords. Any help would be useful ?
Thanks for showing that an html view source menu can be added earlier.
To change the properties of a menu in ExeOutput for PHP (like Caption, Visible, Enabled), use the http://www.exeoutput.com/help/scriptreference.htm HEScript function.
You need to know the name of your menu, as shown on this screenshot: