How to add themes to an existing project

How to add themes to an existing project

In the project creation process, we must select the themes that will be part of the project.
If you want to add new themes to previously created projects, follow the step by step below.

Adding theme to the project

1 - First, add the new theme within the project properties, access the top menu Project> Properties



2 - Then, access the themes tab.



3 - Within the themes tab, choose the desired themes and move them to the field on the right, where the themes available in the project are listed.


4 - In order for the next applications created to have the new theme already in the initial settings, it is necessary to leave the new theme selected as "Default", for that just click on the theme and click on the option "Define a default theme".

To save the new theme to the project, click Finish.


Applying the theme in the project applications.

Once you have added the themes to your project, you can now use the Express Edition option in order to apply it to all existing applications

1 - In the top menu go to Tools > Express Edition



2 -Then select the applications that will be edited.


3 - Select the property you want to change, in this example, we are changing the Theme, and click Next.


4 - Select the theme  you want and click Apply.


All project applications will automatically have their theme changed to the selected one.

To finish, click Generate Source, to recompile the applications with the new theme. This is the final step, make sure you do not have any changes within the express edition, if you have one, you can do the source code generation at the end of all changes

    • Related Articles

    • Creating new themes for Scriptcase

      In this article, we will show how to create and edit new themes for your applications. Scriptcase afford a complete tool for creating themes, can change the layout of buttons, all the CSS application, and the application's menu bar menu. With a ...
    • How to switch between themes dynamically through the Menu app

      In Scriptcase, it's possible to dynamically switch between themes by activating a Menu option, to enable that option, simply follow the steps below: Note The chosen project must have more than one theme selected, otherwise it will not be possible to ...
    • Dynamically change the theme of a project with the sc_set_theme macro

      Scriptcase provides macros, functions created by the developers of Scriptcase, which will assist in customizing applications as well as simplifying code editing at events. In this article, we will see how to use the sc_set_theme macro in practice, to ...
    • Project Search

      The Application Search option is ideal for large projects, which contain many applications. With this search tool it is possible to search among the applications created in Scriptcase from a word. 1. To access the application search, go to the menu ...
    • Add a record to another table from a condition

      1- We create a form where we will perform the validation. 2- In the OnValidate event of our form we introduce the code with this scheme if (condition == condition) { insert the data to the other table; } else { echo "no records added"; } 3- this will ...