Probably the simplest thing you can do is to put code in the menu item's 'skipfor'. Say your form name is 'MyForm', then something like:
VarType(MyForm.Name) = 'C'
Then if the form is open, it's name will be a type of 'C' and the menu item will be disabled.
Alan
>Hi,
> I am develop an application and that will have menu, and by menu to click for open a form. And i wish to avoid user will click many times to open the form many times. How to prevent it ?
> Thanks
>
>
>kengwen