Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Strange Modal form behavior - Please help

0 views
Skip to first unread message

Bogdan Zamfir

unread,
Aug 27, 2000, 3:00:00 AM8/27/00
to
Strange Modal form behavior - Please help

I encountered a very strange behavior working with model forms.
I have three forms FORM1, FORM2 and FORM3

They works this way:
Form1 calls Form2 and this calls FORM3.

But, when I close Form 3, The Form 1 comes IN FRONT of form 2, But Form 2
still is the active form, and modal also. This means Form2 Title bar is
active, if I click on Form1 (which is in front) I got the Bell (as expected,
since I have to close Form2 before regain access to Form1. If FORM 1 is
bigger than FORM2 and this one is not visible at all, the only way to bring
Form2 in front is to click on app icon in taskBar.

I have encountered such a situations few years ago, when I converted a app
from VFP3 to VFP5, only by recompile, and at that time I left it this way,
since it was an "internal use" app, and I haven't time to spend on this.

But now this is a brand-new app.

Please help me.

Best regards,
Bogdan

chris

unread,
Sep 5, 2000, 10:33:19 AM9/5/00
to
Just a thought - but did you use 'save as' to generate any of the forms from
another form in the set.
if you did - the form.name property might be the same and this 'might' be
giving you the problems.


Roy Miller

unread,
Sep 5, 2000, 5:09:38 PM9/5/00
to
You might try the tried and true wontop(). I've found this works well when
you want to make sure you've got the correct window up.

Roy

Bogdan Zamfir <a...@prahova.ro> wrote in message
news:eX5r#7BEAHA.82@cppssbbsa04...

Bogdan Zamfir

unread,
Sep 5, 2000, 5:37:17 PM9/5/00
to

I've discovered this problem occur when DESKTOP = .T. and ShowWindow = In
Main VFP Window. If I change Desktop to .F., everythings works OK.

This seems to me as a BUG of VFP6

Regards,
Bogdan

chris <cpi...@precisionsteel.net> wrote in message
news:#fNMgZ0FAHA.247@cppssbbsa05...

Jacobus Terhorst

unread,
Oct 31, 2000, 4:44:23 PM10/31/00
to

I could not reproduce the problem. Are you sure Form2 and Form3 are bot
modal.
May be you should show the code (only the forms and one button per form to
show the next form)

Jacobus Terhorst

Bogdan Zamfir

unread,
Oct 31, 2000, 5:37:05 PM10/31/00
to
Hi,

I discovered what caused the problem.
It was caused if you set up all three forms as Desktop = .t. and Show In
TopLevel Form

Regards,
Bogdan


Jacobus Terhorst <jac...@webcombo.net> wrote in message
news:e#lwyQ4Q...@cppssbbsa02.microsoft.com...

0 new messages