PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Limits
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
Others
Stored procedures
Re-initializes:
  • 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.
Versions 16 and later
WINDEVLinux This function is now available for WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for WINDEV applications in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Example
// Add a customer
ScreenToFile()
HAdd(Customer)
// Re-initialize the controls in order to enter a new customer
Reset(True)
WINDEVUser code (UMC)
// Re-initialize the controls found in the "SC_Customer" supercontrol
// The list box, combo box, table and looper controls of this supercontrol
// will keep their current content.
Reset(SC_Customer, True)
Syntax

Re-initializing all the controls found in the current window or page Hide the details

Reset([<Management of Special Controls>])
<Management of Special Controls>: Optional boolean
  • True:
    • the edit controls and the Static controls are re-initialized with their initial value,
    • the browsing or memory List Box, Combo Box, Table and Looper controls are neither cleared nor re-initialized. They keep their current content.
  • False (default value):
    • the edit controls and the Static controls are re-initialized with their initial value,
    • the memory List Box, Combo Box, Table and Looper controls are cleared and re-initialized with their initial content,
    • the browsing List Box, Combo Box, Table and Looper controls are re-initialized (they are not cleared).
WINDEVUser code (UMC)

Re-initializing 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 (with or without quotes)
Name of group of controls, supercontrol, internal window or internal page whose controls will be re-initialized.
<Management of List Box Controls>: Optional boolean
  • True:
    • the edit controls are re-initialized to their initial value,
    • the list boxes, combo boxes, tables and loopers (browsing or memory) are neither cleared nor re-initialized. They keep their current content.
  • False (default value):
    • the edit controls are re-initialized to their initial value,
    • the "memory" list boxes, combo boxes, tables and loopers are cleared and re-initialized with their initial content,
    • the "browsing" list boxes, combo boxes, tables and loopers are re-initialized (they are not cleared).
WINDEVUser code (UMC)

Re-initializing 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 (with or without quotes)
Name of element whose controls will be re-initialized. 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:
    • the edit controls and the Static controls are re-initialized with their initial value,
    • the browsing or memory List Box, Combo Box, Table and Looper controls are neither cleared nor re-initialized. They keep their current content.
  • False (default value):
    • the edit controls and the Static controls are re-initialized with their initial value,
    • the memory List Box, Combo Box, Table and Looper controls are cleared and re-initialized with their initial content,
    • the browsing List Box, Combo Box, Table and Looper controls are re-initialized (they are not cleared).
Remarks

Limits

Reset does not reinitialize the caption of the Button controls.
Component : wd250obj.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