ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WINDEV Mobile concepts / Part 1 - Main concepts
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
12. Control templates
Previous pageTable of contentsNext page
WINDEV Mobile allows you to create control templates. A control template is a set of controls that can be re-used in several windows.
Changes made to a control template are automatically applied to all the windows that use the template.
A control template is used to:
  • group a set of controls for a specific purpose.
  • make the controls independent of the host window.
View of a control template.
An orange outline appears around the template.
Template used in a window.
Elements from the template have a blue border and are identified by a yellow square.

A control template can be created:
  • via the icon in the quick access buttons. In the "New" window, click "Window" then "Control template".
  • from the controls in the window (select the controls and right-click, in the context menu that appears, select "Refactoring .. Create a control template from the selection").
To create a window based on a control template, create a "Control template" control.
The characteristics of the elements can be dissociated from the template. For example, dissociating the control from the template so it can be freely positioned while keeping 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…
Comments
Click [Add] to post a comment

Last update: 09/19/2024

Send a report | Local help