How to switch between themes dynamically through the Menu app

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 switch between themes. You can verify if your project has one or more themes by selecting the project you wish to change themes and going to Projects > Properties > Themes.



Enabling functionality.


1 - First, we need to access the Menu application and navigate to Settings:



2 - Next, we need to enable the Select Theme option, as shown in the image below:



3 - That done, now it's possible to change the themes through the menu, the image below shows how this option appears in it:



    • 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 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 ...
    • Navigate between tab dynamically

      In this tutorial we will show how to navigate between tabs dynamically from a tab application. In this example we will use two applications, added in the tab application. In the first tab we will have a form and after inserting a record we will be ...
    • Displaying username in the Menu Header

      In this article we will see how to display the name of the user logged in the system, in the header of an application menu. This example was created using the Scritpcase native security module 1. First, select the user or login. Access an app_login ...
    • Crear menú de aplicación

      En este tutorial le mostraremos cómo crear una aplicación de menú. Después de crear el proyecto, se mostrará una pantalla con todas las aplicaciones disponibles para su creación. Seleccione el menú de la aplicación, ingrese el nombre y el idioma a ...