Monday, May 17, 2010

Tip of the Day: Using Custom Themes in R:BASE eXtreme 9.0 (32/64)

Supported Versions: R:BASE eXtreme 9.0 (32)
Supported Versions: R:BASE eXtreme 9.0 (32)
Supported Builds..: 9.0.1.10511 or higher
R:BASE Updates: http://www.rupdates.com

Did you know that you can integrate your own custom theme in R:BASE 
eXtreme 9.0?

There are 86 (35 old + 51 new) pre-defined themes available in R:BASE 
eXtreme 9.0. These themes can be applied to Internal Forms, External 
Forms (.rff), Applications (.rba), the Print Preview window, CHOOSE, 
DIALOG, PAUSE, PLUGIN (RCalculator), and PRNSETUP dialog windows.

Here is a list of documented themes in R:BASE eXtreme 9.0:

01. Aqua
02. BeOS
03. Blade
04. Blue Monkey
05. Bugatti
06. Catalyst
07. Celestial
08. Chrome
09. Clear Orange
10. Convergence
11. Crystal Blue
12. Dazzle
13. Elegance
14. Eternal
15. Forest Green
16. Destiny
17. Gallardo
18. Homestead
19. iTunes
20. KDE
21. Legends
22. Luna
23. Luxor
24. Metallic
25. Mind Wood
26. Mint
27. Navy
28. Office 2007
29. Panther
30. Plex
31. Prof Skin
32. QNX
33. Radiance
34. Royale
35. Sentinel Blue
36. Sentinel Green
37. Sentinel Red
38. Sentinel Purple
39. Sentinel Silver
40. Seven
41. Sniper
42. Soft Blue
43. Swing
44. Venom
45. Vienna
46. Vista CG
47. Vista New
48. Water Color
49. Windows Media Player 11 
50. Wood
51. Yrgen Style

If that is not enough, now you can integrate your own custom theme 
in R:BASE eXtreme 9.0.

Here's how:

01. Create a separate folder, such as "Styles" under the same folder
    with your database and application(s).

02. Copy your own custom designed theme (themename.msstyles) file in
    "Styles" folder.

03. Use the following PROPERTY command to load your custom designed 
    theme in your application startup or RBASE.DAT file.

    -- Load Theme
    PROPERTY LOAD_THEME 'themename' 'Styles\themename.msstyles'
    -- your additional code here
    RETURN

04. Use the following PROPERTY command to release your custom 
    designed theme from memory, such as application EXIT routine.

    -- Release Theme
    PROPERTY RELEASE_THEME 'themename' 'TRUE'
    RETURN

05. Use the following PROPERTY command to change custom theme.

    -- Change Theme
    PROPERTY CHANGE_THEME 'themename' 'filepathandname'
    RETURN

    Example:

    PROPERTY CHANGE_THEME NewLuna 'Styles\LunaXP.msstyles'
    RETURN

    After this command is issued, the theme NewLuna will use 
    the styles defined in the LunaXP.msstyles file. 

    This command parameter is provided to alter the theme file, 
    and to avoid changing the specified "theme name" is every 
    location within the code.

06. In a compiled application, you may embed your custom themes
    as built-in resource without including external files.

    R:Compiler 9.0 | Additional Resources | Themes 
    Add Themes ... (*.msstyles)
    Load Theme(s) from Library...

Note: 

All previously defined Forms which are redefined to use Themes 
should be thoroughly checked prior to putting into production, 
as objects and text may look substantially different.

Have fun!

Very Best R;egards,

Razzak.

P.S. To review all Themes in a live form, run the "Dynamic R:BASE 
eXtreme 9.0 Theme Selector" form, RBG90_ThemeSelctr, within the 
RRBYW16 sample database (bundled with full installation) of R:BASE
eXtreme 9.0 (32) and (64).

--- 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.
================================================


Reply via email to