sc_set_theme('String Theme')
|
|
This macro allows to dynamically change the theme that will be used in the applications.
When used, the theme is changed in the session, causing all applications accessed later to receive the informed theme.
Parameter
This macro has only one parameter, which must be named after the theme that will be applied. This parameter can be passed in two ways.
Example 1 - String with the name of the theme.
sc_set_theme ('BlueBerry');
Example 2 - Local variable receiving the value of a field or a global variable.
$ set_theme = {field_name};
sc_set_theme ($ set_theme);
Related Links See how to dynamically change the theme of a project using the macro.
|
Macro Scope
|
Blank application
|
calendar application
|
chart application
|
Grid application
|
Dashboard
|
Search application
|
Form application
|
Control Form
|
Menu application
|
Responsive Menu
|
Tree menu
|
ReportPDF application
|
allMacros onExecute
|
allMacros onApplicationInit onInit
|
allMacros onApplicationInit onInit
|
allMacros onApplicationInit onInit
|
allMacros onApplicationInit onInit
|
allMacros onApplicationInit onFilterInit onFilterValidate
|
allMacros onApplicationInit onInit
|
allMacros onApplicationInit onInit onValidate onValidateSuccess
|
allMacros onApplicationInit onLoad
|
onApplicationInit onLoad
|
allMacros onApplicationInit onLoad
|
allMacros onApplicationInit onInit
|
|