>You can use a simple IsItOpened=FOPEN('AnyForm.scx') to find, if a form is opened in design or run-time mode. Returns -1, if form is already opened, or >0 if success. Don't forget to close successfully opened file by FCLOSE(IsItOpened).
I like this idea too.
If it's not broken, fix it until it is.
My Blog