>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.
Martin,
Just to expand on Larry's response, the reason is that Win32 doesn't support a modal application.
George
Ubi caritas et amor, deus ibi est