>HI,
>
>I'm trying to use the SET SKIP command with a menu item so that when I select a submenu the item is disabled, together with a button on the main form. I am getting myself into a hell of a mess, and it is comming up with syntax errors - so I can't run the form!
>
>The menu is called:
>
> mnutoolmain.mnx
>
>
>The top level item is called:
>
>\< File
>
>The submenu item is called
>
>\< Start
>
>The submenu has a procedure which runs a do form command
>
>Then I wish to disable the \< Start item
>
>and also a command button on the main form.
>
>Can someone PLEASE PLEASE help!!
>
>Cheers
>Rob
Do you mean, you want to disable Start menu once you have form's running? If so, you can use not wexist('Myformname') in Set Skip. Otherwise you can use some property of your global application object...
If it's not broken, fix it until it is.
My Blog