Home | Sign in | English EN
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WindowsLinuxPHPWEBDEV - Browser code
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Stored procedures
10. 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 modifications performed in a window template are automatically applied to all windows that use this template.
A window template allows you to comply with the style book defined for an application.

Defining a window template.
The template is bordered by an orange line in the editor.
Using the template in several 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 found 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" pane, 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 elements can be dissociated from the template. For example, dissociating the position of a template control to position the control somewhere else while keeping the other evolutions performed on the control (code, style, ...). We talk of 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