Try this (Thank you Form | Document Custom EEPS | Clipboard):
Form EEPs:
On Before Start EEP
SET VAR vLeft text
RETURN
On After Start EEP
IF vLeft IS NULL OR vLeft = '0' THEN
GETPROPERTY RBASE_FORM left 'vLeft'
ELSE
--Remember, vLeft is a text variable, convert it to integer
-- before adding the offset
SET VAR vLeft = (CTXT((NINT(.vLeft)) + 50))
PROPERTY RBASE_FORM left .vLeft
ENDIF
RETURN
On Close EEP
CLEAR VAR vLeft
RETURN
==========================================================
Form Controls:
===========================================
Push Button, Caption : Edit usi same form
===========================================
On Click Custom EEP:
--Get current left position of form (it may have been moved)
GETPROPERTY RBASE_FORM left 'vLeft'
EDIT USING Test
RETURN
You can also do the same for TOP.
Doug
MDRD wrote:
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
--- RBASE-L
================================================
TO POST A MESSAGE TO ALL MEMBERS:
Send a plain text email to [email protected]
(Don't use any of these words as your Subject:
INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH,
REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP)
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: INTRO
================================================
TO UNSUBSCRIBE:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: UNSUBSCRIBE
================================================
TO SEARCH ARCHIVES:
Send a plain text email to [email protected]
In the message SUBJECT, put just one word: SEARCH-n
(where n is the number of days). In the message body,
place any
text to search for.
================================================