Hi!
Define a SKIP FOR for menu items. This is a logical expression. You can check if form runs by many ways, following are samples:
.. SKIP FOR FormOpened('FormName')
&& FormOpened() is a function that checks if form opened
.. SKIP FOR type("_Screen.ActiveForm") == "O" AND _Screen.ActiveForm.Name = 'FormName'
.. SKIP FOR type("glFormNameOpened")=="L" AND glFormNameOpened
&& glFormNameOpened is a public variable that set to .T. if the appropriate for opened.
HTH.
>I want to disable certain menu options when certian forms are running...or maybe when a propety has a particular value. How would I refer to the form in my menu settings (without the menu crashing if it loads first)?
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.