Awesome, I will give that a try. Never could find the syntax for ROLLUP
or ROLLDOWN in my latest R:Docs.
On 4/8/2013 9:39 PM, A. Razzak Memon wrote:
At 05:29 PM 4/5/2013, Dave McCann wrote:
Anybody using Roll-Up button on forms and if so, I'm trying to find
how to
put the form back to a normal state through code? I have an MDI form
with
roll-up enabled, if that form is called (and already open) I SET
FOCUS but
cannot locate any way to put it back to normal. Tried the WINDOW_STATE
Property which does not work.
WINDOW_STATE has nothing to do with the RollDown or RollUp feature of the
the form.
Use the PROPERTY RBASE_FORM ROLLDOWN 'TRUE' to achieve such
functionality.
Here's how:
01. Start R:BASE eXtreme 9.5 (32/64), Build: 9.5.2.20430 or higher ...
http://www.rupdates.com
02. CONNect the database and open the desired form in Form Designer
03. While in Form Designer, update the routine/EEP that will "RollDown"
or "RollUp" the form with the [x] Roll-Up Button enabled, using the
following PROPERTY commands:
-- Example 01
-- To Dynamically Roll Down the current form
PROPERTY RBASE_FORM ROLLDOWN 'TRUE'
RETURN
-- Example 02
-- To Dynamically Roll Up the current form
PROPERTY RBASE_FORM ROLLUP 'TRUE'
RETURN
-- Example 03
-- To Dynamically Roll Down the MDI form
PROPERTY 'MDI_FormName|RBASE_FORM' SET_FOCUS 'TRUE'
PROPERTY 'MDI_FormName|RBASE_FORM' ROLLDOWN 'TRUE'
RETURN
-- Example 04
-- To Dynamically Roll Up the MDI form
PROPERTY 'MDI_FormName|RBASE_FORM' SET_FOCUS 'TRUE'
PROPERTY 'MDI_FormName|RBASE_FORM' ROLLUP 'TRUE'
RETURN
That's all there is to it!
For complete details refer to R:Docs 9.5, Build: 9.5.2.20430 or higher
For a sample application to illustrate the use of RollDown/RollUp
PROPERTY for MDI Forms, refer to "Using RollDown/RollUp In MDI Forms",
sample included with 2013 R:BASE eXtreme 9.5 SAT Sample Applications.
Have fun!
Very Best R:egards,
Razzak.
www.rbase.com
www.facebook.com/rbase
--
Dave McCann
Classic Micro Systems
--- 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.
================================================