This would work, but one would have to detect when the first form got the focus.

We can see how to SET_FOCUS.
We can see how to discover if the form has moved.

But we cannot find a way to capture the GET_FOCUS event.
And there is no property for IN_FOCUS to test in a timer.

Dennis McGrath





________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of jan johansen
Sent: Friday, March 13, 2009 12:45 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Form Focus Question

Dennis,

Without knowing how you bring up your forms you could try.

PROPERTY 'Form1|ComponentID' SET_FOCUS 'TRUE'
then
PROPERTY 'Form2|CompentID' SET_FOCUS 'TRUE'
then switch back to form 1.

Me thinks that would bring both forms to the top.

Jan



-----Original Message-----
From: Dennis McGrath <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Fri, 13 Mar 2009 12:33:59 -0500
Subject: [RBASE-L] - Re: Form Focus Question
Jan,

Stay on top will not solve our problem.

Dennis

________________________________
From: [email protected] [mailto:[email protected]] On Behalf Of jan johansen
Sent: Friday, March 13, 2009 12:31 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Form Focus Question

Dennis,

Maybe try
PROPERTY RBASE_FORM STAY_ON_TOP 'ON'

The caveat is that R:Docs states the following;
This form remains on top of the destop and of other forms in the project, 
except any others that also have
Form Style set to StayOnTop. If one StayOnTof form launces another, neither 
form will consistently remain on top.

Jan


Jan


-----Original Message-----
From: Dennis McGrath <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Fri, 13 Mar 2009 12:24:39 -0500
Subject: [RBASE-L] - Form Focus Question
Here is the scenario:

Two forms are up.
We cover part of both forms with another program.
We touch the first form. It comes to the top, but the second is still partially 
hidden.
We want the second form to come to the top also.

Any ideas?

Dennis McGrath

Reply via email to