Hi!
Yes. Menu, submenu, each menu bar of menu have its own identification. You can access any of them and create new items in menus on the fly, as well as delete them by release command, or change certain properties, like SKIP condition by SET SKIP OF command. Menu generator generate all these names using unique name generator (sys() function that I do not remember number of ;), but you can use your own more friendly name.
>Hey Vlad,
>
>Ok, that makes sense. Could I just create a prg that simply adds my prompt to the menu created with the designer?
>
>Renoir
>
>
>>Hi!
>>
>>No way through menu designer. Just generate MPR file with all menu items, than change it to PRG, remove menu from project and add that PRG. Use PRG file for menu creation. It is pure VFP commands file that you can use to create menus programmatically. You can alter it as you want.
>>
>>BTW, instead of & use ():
>>
>>DEFINE BAR ... PROMPT (m.cMyPrompt)
>>
>>HTH.
>>
>>>I thought this would work, but Foxpro wraps the prompt in quotes in the source code. I want to display a value as one of the menu prompts. I used &cPromptValue, but it causes an error on compile. Is there a way to do this through the designer? Thanks!
>>>
>>>Regards, Renoir
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.comICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs
It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.