Home | Sign in | English EN
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Stored procedures
11. Window templates
Previous pageTable of contentsNext page
WINDEV Mobile allows you to create window templates. These templates contain all the graphic elements common to all the windows of your application.
The changes made in a window template are automatically applied to all windows using this template.
Window templates allow you to keep the style book defined for an application.

Defining a window template.
The template is bordered by an orange line in the editor.
Template used in multiple windows.
The elements belonging to the template are identified by a yellow square.

A window template can be created:
  • via the Create an element icon in the quick access buttons. In the window for creating a new element, click "Window" then "Window template".
  • from the current window (on the "Home" tab, in the "General" group, expand "Save" and select "Save as a template").
To create a window based on a template, select the template that will be used during the window creation.
The characteristics of the elements can be dissociated from the template. For example, dissociate the position of a control from the template to move it elsewhere while keeping other changes (code, style, etc.). This is referred to as control inheritance. In this case, the elements are identified by a blue square.
Previous pageTable of contentsNext page
This page is also available for…
Click [Add] to post a comment