External themes can be loaded into R:BASE. External theme files must have the ".msstyles" file extension. The themes can be acquired from any online resource or from a custom theme you created yourself.
After a theme is loaded into the R:BASE session, the theme name specified will be listed in every available location where themes are specified and will appear in the Data Dictionary list.
When using external themes, the theme file must be loaded into the R:BASE each time the session is launched.
In order to load a theme into R:BASE, the PROPERTY command must be used. The following PROPERTY command parameters are to manage external themes in R:BASE:
Parameter |
Value 1 |
Value 2 |
Description |
LOAD_THEME |
theme name |
theme file |
loads a new theme for the session |
RELEASE_THEME |
theme name |
TRUE |
releases an existing loaded theme |
CHANGE_THEME |
theme name |
new theme file |
loads a new a different theme for a loaded theme name |
Load Theme Example:
PROPERTY LOAD_THEME 'NewLuna' LunaBlue.msstyles
After this command is issued, the theme "NewLuna" will be available in all locations where a theme can be specified.
Release Theme Example:
PROPERTY RELEASE_THEME NewLuna TRUE
After this command is issued, the theme "NewLuna" will be released.
Change Theme Example:
PROPERTY CHANGE_THEME NewLuna LunaXP.msstyles
After this command is issued, the NewLuna theme 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" in every location within the code.