Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can't top-level form be modal?
Message
From
09/01/2001 14:40:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Can't top-level form be modal?
Miscellaneous
Thread ID:
00461369
Message ID:
00461369
Views:
57
Hello, everybody.

I think I'm dumber that usual today (it is that possible???).

I'm building a little monitor application. It is based on a top-level form with a timer that runs diffferent processes from a list.

I put a button there that opens a configuration form (top-level, too) that give me access to that list, etc.

Now I want to know if the user confirmed or cancelled changes (at the form close). So I need to return a flag from this second form. I did set it as modal, but when I do:
do form config with llOk
I get the infamous error: "The TO clause can only be used with modal Forms".

Do I have some way of receiving a parameter, better than passing a reference to the first form and switching a flag in it from the second one? I don't like this kind of coupling very much.

Thanks in advance, people.
Next
Reply
Map
View

Click here to load this message in the networking platform