>>>>>>Sure, you could write a wrapper around MODIFY FORM and MODIFY CLASS to set that flag, but what would you use to reset it?
>>>>>
>>>>>If you write a wrapper, can you add resetting of a flag in a wrapper? E.g. check window existance? Just an idea, haven't thought about it and besides, you can put some macro to reset the flag...
>>>>
>>>>I don't think so, because once you start the Designer, you wrapper would have finished. You'd need some kind of event handler for when the designer closed.
>>>
>>>MODIFY FORM [FormName | ?][NOWAIT][METHOD MethodName]
>>> [NOENVIRONMENT][SAVE]
>>> [[WINDOW WindowName1] [IN [WINDOW] WindowName2 | IN SCREEN]]
>>>
>>>Can you define a form as a window and reset the flag in form's destroy?
>>
>>MODIFY CLASS doesn't have that option.
>
>I see. Well, as you would say in Russian, "oblom" :)
In VFP9, there's some hooks to access menu options. Maybe something could be implemented via that route. I wish I had more time to flesh out the ideas some more.