At 10:45 AM 10/24/2008, Lawrence Lustig wrote:
<<
As Razzak showed us (was it 56?) additional themes in V.9, which
will be super fast loading, he mentioned that themes in 7.6 and
8.0 help to slow down the loading of forms but that one of the
fastest loading ones is "MAC OS".
>>
That's great. Do you still have to set themes on a form-by-form
and dialog-by-dialog basis?
What I really long for is a SET THEME command that you could use.
All forms that had <Default> set as the themename, and all dialogs
without a specified theme, would then use the theme from the SET
THEME command. (Any time you specified another theme, of course,
that would override the default). You could even have a THEME line
in the config file.
Why would this be great?
1. I don't use themes now, because it would be extremely tedious
to go through an application and set the theme on 200 forms and
thousands of DIALOG, PAUSE, and CHOOSE commands. How great to be
able to just SET THEME in the program startup code.
2. You could write your applications so that users themselves
could choose their own themes. You could save their theme
selection in a table, and they'd get their own private "look"
when they started the application.
At 10:57 AM 10/24/2008, Emmitt Dove wrote:
Hmmm.
SET THEME themename
Then:
DIALOG ... THEME .#THEME ???
The default setting in RBEngine9.CFG file:
THEMENAME NOTHEME
Then, you can also use the following PROPERTY command in
forms, reports or labels:
-- Forms (On After Start EEP):
PROPERTY RBASE_FORM THEMENAME .#THEMENAME
-- Printing Reports (On Screen):
PRINT reportname WHERE whereclause +
OPTION SCREEN +
|WINDOW_STATE MAXIMIZED +
|ZOOM_TYPE PERCENTAGE +
|ZOOMPERCENT 90 +
|THEMENAME .#THEMENAME +
|PREVIEW_BACKGROUND_COLOR 16180442 +
|PREVIEW_CAPTION Imagine the look and feel
-- Printing Labels (On Screen):
LBLPRINT labelname WHERE whereclause +
OPTION SCREEN +
|WINDOW_STATE MAXIMIZED +
|ZOOM_TYPE PERCENTAGE +
|ZOOMPERCENT 90 +
|THEMENAME .#THEMENAME +
|PREVIEW_BACKGROUND_COLOR [R234,G234,B234] +
|PREVIEW_CAPTION Imagine the possibilities
======================================================
R:BASE eXtreme (v 9.0) FAQs:
======================================================
Q. How do I disable all existing themes in 200 forms?
A. Use the built-in option of "Change Form(s) Theme.."
Q. How do I assign new themes for all 200 forms?
A. Use the built-in option of "Change Form(s) Theme.."
Here's how:
01. www.rbaseXtreme.com/forms/RBASE_eXtreme.png
02. www.rbaseXtreme.com/forms/RBG9_Forms_01.png
03. www.rbaseXtreme.com/forms/RBG9_Forms_02.png
04. www.rbaseXtreme.com/forms/RBG9_Forms_03.png
05. www.rbaseXtreme.com/forms/RBG9_Forms_04.png
Have fun!
Very Best R:egards,
Razzak.