>>>This is kind of a kludge, so I am open for more elegant options.
>>
>>
>>I meant that you can make form Modal on the fly conditionally
>>
>>IF thisform.lAddMode
>>thisform.Hide()
>>thisform.Show(1)
>>endif
>>
>>this works , but I am testing this now and having troubles with returning to modeless state.
>>thisform.Hide()
>>thisform.Show(2)
>
>Modeless would be Show(0). I am testing this out now with some success. This has good possibilities.
According to VFP Help it is 2 (Default) Modeless.
That's WindowType property which is 0 for Modeless
I also have some success but still not the full one. :)
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison