PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
This content has been translated automatically. Click here to view the French version.
  • Limits
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
Reinitializes:
  • all controls found in the current window or in the current page (including the groups of controls, the supercontrols, the popups and the internal windows).
  • the controls found in a group of controls, a supercontrol, a popup, an internal window or an internal page.
Example
// Ajout d'un client
ScreenToFile()
HAdd(Client)
// Ré-initialisation des champs afin de saisir un nouveau client
Reset(True)
Reports and Queries
// Ré-initialisation des champs présents dans le superchamp "SC_Client"
// Les champs liste, combo, table et zone répétée de ce superchamp
// conserveront leur contenu actuel.
Reset(SC_Client, True)
Syntax

Reinitializing all the controls in the current window or page Hide the details

RESET([<Management of Special controls>])
<Management of Special controls>: Optional boolean
  • True:
    • Edit controls and Static controls are reinitialized to their initial value,
    • browsing or memory List Box, Combo Box, Table and Looper controls are neither cleared nor reinitialized. They keep their current content.
  • False (default value):
    • Edit controls and Static controls are reinitialized to their initial value,
    • memory List Box, Combo Box, Table and Looper controls are cleared and reinitialized to their initial content,
    • browsing List Box, Combo Box, Table and Looper controls are only reinitialized (they are not cleared).
Reports and Queries

Reinitializing all the controls found in a group of controls, a supercontrol, an internal window or an internal page Hide the details

RESET(<Element name> [, <Management of List Box controls>])
<Element name>: Character string
Name of group of controls, supercontrol, internal window or internal page whose controls must be reinitialized.
<Management of List Box controls>: Optional boolean
  • True:
    • Edit controls are reinitialized to their initial value,
    • List Box, Combo Box, Table and Looper controls (browsing or memory) are neither cleared nor reinitialized. They keep their current content.
  • False (default value):
    • Edit controls are reinitialized to their initial value,
    • memory List Box, Combo Box, Table and Looper controls are cleared and reinitialized to their initial content,
    • browsing List Box, Combo Box, Table and Looper controls are only reinitialized (they are not cleared).
Reports and Queries

Reinitializing all the controls found in a group of controls, a supercontrol, an internal window or an internal page Hide the details

RESET(<Element name> [, <Management of Special controls>])
<Element name>: Character string
Name of element whose controls will be reinitialized. Can correspond to:
  • Name of group of controls.
  • Name of supercontrol.
  • Name of internal window or internal page.
<Management of Special controls>: Optional boolean
  • True:
    • Edit controls and Static controls are reinitialized to their initial value,
    • browsing or memory List Box, Combo Box, Table and Looper controls are neither cleared nor reinitialized. They keep their current content.
  • False (default value):
    • Edit controls and Static controls are reinitialized to their initial value,
    • memory List Box, Combo Box, Table and Looper controls are cleared and reinitialized to their initial content,
    • browsing List Box, Combo Box, Table and Looper controls are only reinitialized (they are not cleared).
Remarks

Limits

The Reset function does not reset the labels of the fields Button.
Component: wd270obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Video Reset
https://youtu.be/M-f668hriQ0

https://windevdesenvolvimento.blogspot.com/2019/04/dicas-2068-windev-mobile-webdev.html

// BTN_LIMPA_VARIAVEIS

Reset(GR_limpa)
amarildo
07 Apr. 2019