ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Developing an application or website / Controls, windows and pages / Controls: Available types / Supercontrol
  • Retrieving a supercontrol
  • Programming a supercontrol
  • Properties specific to the supercontrols
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
Including a supercontrol in a window or in a page
Retrieving a supercontrol
In most cases, the supercontrol is available in a dictionary (.Dic file). To include the supercontrol in your window or page, you must:
  1. Display the "Dictionary" pane.
  2. Open the dictionary ("Open" from the popup menu).
  3. Drag and Drop the control found in the dictionary to your window or page. The supercontrol is automatically included in your window or page.
Remark: Several copies of the same supercontrol can be found in the same window or page. Only the name of the supercontrol is modified. The names of the elements found in the supercontrol are not modified. The processes associated with the controls are independent.
Programming a supercontrol
Programming a supercontrol depends on the possibilities given to the supercontrol by its designer.
  • In most cases, the supercontrol has a value. This value can be obtained by using the name of the supercontrol or by using Value.
  • To handle a control of the supercontrol (to find out its value for example), you must use the following notation:
    <Supercontrol name>.<Control name>
  • Use (if necessary) the processes associated with the supercontrol.
Remark: We do not advise you to modify the procedures associated with the supercontrols without prior agreement from the designer.
Properties specific to the supercontrols
The following properties are used to manage the characteristics of a supercontrol by programming.
HeightAllows you to find out and modify the height of the supercontrol
NameAllows you to find out the name of the supercontrol
ValueAllows you to find out and modify the value of the supercontrol
WidthAllows you to find out and modify the width of the supercontrol

For a complete list of WLanguage properties that can be used with a supercontrol, see Properties associated with a supercontrol.
See also
Minimum version required
  • Version 9
This page is also available for…
Comments
Video Dicionario
https://youtu.be/4VFeVATmv5M

https://windevdesenvolvimento.blogspot.com/2019/01/dicas-1999-windev-dicas-85-dictionary.html
amarildo
28 Jan. 2019

Last update: 05/26/2022

Send a report | Local help