That's roughly what I came up with excepting I incremented the var as a counter called vInstance.


----- Original Message ----- From: "jan johansen" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Thursday, September 17, 2009 6:51 PM
Subject: [RBASE-L] - Re: Stagger from on top of a form


Marc,

I'm thinking and typing so this may not work.

On Before Start EEP in your form

IF (CHKVAR(vFirstForm)) = 0 THEN
   SET VAR vFirstForm INT = 1
 ELSE
   SET VAR vFirstForm = 2
ENDIF

On After Start EEP in your form

IF vFirstForm = 2 THEN
 PROPERTY RBASE_FORM TOP 200
 PROPERTY RBASE_FORM LEFT 200
ELSE
 PROPERTY RBASE_FORM TOP 100
 PROPERTY RBASE_FORM LEFT 100
ENDIF

Sounds like it would work but maybe not. The only time I do the form
postioning
is when I call a different form.

Jan





-----Original Message-----
From: "MDRD" <[email protected]>
To: [email protected] (RBASE-L Mailing List)
Date: Thu, 17 Sep 2009 16:33:23 -0500
Subject: [RBASE-L] - Re: Stagger from on top of a form


That's what I ran into, I have been chasing my tail all day and have not
had a chance to try other suggestions.

Thanks
Marc


--------------------------------------------------
From: "MikeB" <[email protected]>
Sent: Thursday, September 17, 2009 3:55 PM
To: "RBASE-L Mailing List" <[email protected]>
Subject: [RBASE-L] - Re: Stagger from on top of a form

If the onAfter start EEP says the same thing in the second instance of the

Form, the first instance will already have moved LEFT making the second
instance in the exact position as the first after it moves Left.


----- Original Message ----- From: "MDRD" <[email protected]>
To: "RBASE-L Mailing List" <[email protected]>
Sent: Thursday, September 17, 2009 4:26 PM
Subject: [RBASE-L] - Re: Stagger from on top of a form


Doug

The only thing is it is the same form I want to pop up on top of itself.

Marc



From: Doug Hamilton
Sent: Thursday, September 17, 2009 2:30 PM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Re: Stagger from on top of a form


Wouldn't you want to GETPROPERTY the left position of the first form and
add (or subtract) some number of pixels to that and use that number in an
OnAfterStart EEP PROPERTY command to locate the second form. You could to

the same with TOP.
That way, no matter where user moves the form, the second form is always
in the same relative position to the first, x number pixels to the right
(or left).

Doug

MDRD wrote:
 Hi

 I want to open a second copy of a form on top of itself and have it
stagger so you can see the edge of
the first form. I tried PROPERTY RBASE_FORM LEFT 'nnn' but that does not

seem to work.


 I know this should be simple but I haven't been able to figure it out
yet.

 Thanks
 Marc





Reply via email to