I am trying to instantiate several Non-Modal copies of a form in VFP
from the currently running form. I have set all of the properties
correctly as far as I know but, the forms end up being modal. I can
move the top one around and click on objects but cannot access the one
created before it without closing the last one it.
I have queried the windowtype in the modeless window and it is set to
0.

Any thoughts on what I am doing wrong here???

Jim

Re: Non-Modal windows problem - VFP 9 by Dan

Dan
Tue Mar 28 15:19:04 CST 2006

If the form doing the calling is modal, all called forms will be modal.

Dan

Jim Czeb wrote:
> I am trying to instantiate several Non-Modal copies of a form in VFP
> from the currently running form. I have set all of the properties
> correctly as far as I know but, the forms end up being modal. I can
> move the top one around and click on objects but cannot access the one
> created before it without closing the last one it.
> I have queried the windowtype in the modeless window and it is set to
> 0.
>
> Any thoughts on what I am doing wrong here???
>
> Jim



Re: Non-Modal windows problem - VFP 9 by Gene

Gene
Tue Mar 28 16:01:23 CST 2006

[reordered to chronological]

On Tue, 28 Mar 2006 13:19:04 -0800, "Dan Freeman" <spam@microsoft.com>
wrote:

>Jim Czeb wrote:
>> I am trying to instantiate several Non-Modal copies of a form in VFP
>> from the currently running form. I have set all of the properties
>> correctly as far as I know but, the forms end up being modal. I can
>> move the top one around and click on objects but cannot access the one
>> created before it without closing the last one it.
>> I have queried the windowtype in the modeless window and it is set to
>> 0.

>> Any thoughts on what I am doing wrong here???

>If the form doing the calling is modal, all called forms will be modal.

Where is this documented? Is there any way around it?

I ran across this in adding an informational form to my app. I
use modal forms, except for this one. I ended up converting it into a
toolbar. This means that I can not use cut/copy/paste. Guess what my
boss asked for some time later.

Sincerely,

Gene Wirchenko