Hi Freaks
My challenge:
In a non modal world I have to check on FormLoseFocus some conditions and ask the user how to proceed.
I.e stay in the instance or leave it to the clicked one.
Under certain circumstances, data is also stored
As mentioned in the documentation, in a FRLF trigger the allowed statments are limited, especialy a ask-message should not be presented to the user
So my idea is to send a message to the current(old) instance (and return with -1) which calls the ASYNC-trigger. In this I can call check routines and ask the user,
But now I run into a problem:
If the user say leave the current instance and go to the clicked (new) instance, which instance is this?
Question:
Is there any way to get (in FRLF) the instance, which should get the focus next?
BTW:
For the good old version 9.7 I did a comlpex ping-pong coding to get such information and handle checks and stores on FRLF
But with 10,4 the sequnce was changed and I did not find a way to implement our needs ...
Ingo
------------------------------
Ingo Stiller
Aareon Deutschland GmbH
------------------------------




