At 02:08 PM 1/9/2008, Lin MacDonald wrote:
I've searched but can't seem to find these answers. If documentation
exists somewhere, a link would be great. Otherwise, can someone point
me in the right direction?
1) Using Themes with Forms: can I modify a Theme and then use it again?
For example, say I like the Razzmatazz theme, but I'd rather it was
green instead of blue. Is there a way to do that, then save it to use
in my next form?
Lin,
Looks like you are having too much fun with R:Themes!
Currently, all supported 30 R:Themes are pre-defined and you have no way
to modify the existing theme.
However, based on end-user preference, if you need to switch R:Theme from
an already defined theme in form designer to another theme on the fly,
you may use the following PROPERTY command as "On After Start" EEP.
Example 01 (To change R:Themes on demand at Runtime):
-- Form: On After Start EEP
IF (CVAL('NetUser')) = 'Lin' THEN
PROPERTY RBASE_FORM THEMENAME 'Deep Green'
ELSE
PROPERTY RBASE_FORM THEMENAME 'R:BASE Rocks!'
ENDIF
RETURN
Example 02 (To disable R:Themes on demand at Runtime):
-- As Custom EEP
PROPERTY RBASE_FORM THEMENAME 'NOTHEME'
RETURN
2) DB Navigator: how do I modify it? I see examples of programs that have
rounded buttons, buttons with the Symbol + Text on them, etc. How do I
do this and again, can I save it to re-use again?
To modify the DB Navigator control in form designer, click on the control,
then right-click or press [F11] to access DB Navigator Properties. This is
where you will modify the DB Navigator control properties.
In reference to examples of programs that have rounded buttons with Symbol
plus Text on them, this is a "Custom Designed Universal DB Navigator",
bundled with R:BASE Sample Applications. To re-use, all you have to do,
while in form designer, is click on the "Enhanced Group Box" that encloses
all buttons and then use [Ctrl+C] to copy to the Windows clipboard. Close
the form designer and then open another form in form designer and use
[Ctrl+V] to paste.
Hope that helps!
Very Best R:egards,
Razzak.