ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WEBDEV concepts / Part 2 - Developing a website
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
20. Control templates
Previous pageTable of contentsNext page
WEBDEV allows you to create control templates. A control template is a set of controls that can be reused in several pages.
The changes made in a control template are automatically applied to all pages using this template.
A control template is used to:
  • group a set of controls for a specific purpose.
  • make the controls independent of the page that hosts them.


View of a control template.
An orange outline appears around the template.


Template used in a page.
Elements from the template have a red border and are identified by a yellow square.


To use a control template in a page, create a "Control template" control.
Remark: The programming associated with the template elements can be performed in the template directly.
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
Comments
Click [Add] to post a comment

Last update: 10/19/2023

Send a report | Local help