PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

X
Y
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
..StoreTheValue is used to:
  • Find out whether a control keeps its value between two application starts via the persistence.
  • Modify a control so that it keeps (or not) its value between two application starts via the persistence.
This property corresponds to the "Store the value" option found in the "Details" tab of the description window of the following controls:
  • Check box/Radio button,
  • Combo box/List box,
  • Edit control,
  • Versions 20 and later
    WINDEV Static tab/Dynamic tab.
    New in version 20
    WINDEV Static tab/Dynamic tab.
    WINDEV Static tab/Dynamic tab.
Example
c is Control
c <- ControlCreate("EDT_Date_1", typDate, 0, 0, 100, 20)
c..Caption = "Today's date"
c..StoreTheValue = True
Syntax

Finding out whether a control keeps its value between two application starts Hide the details

<Result> = <Control Name>..StoreTheValue
<Result>: Boolean
  • True if the control keeps its value between two application starts,
  • False otherwise.
<Control Name>: Character string (with or without quotes)
Name of control to use. This control can be:
  • a Check Box or Radio Button control,
  • a Combo Box or List Box control,
  • an edit control,
  • Versions 20 and later
    WINDEV a static Tab control or a dynamic Tab control.
    New in version 20
    WINDEV a static Tab control or a dynamic Tab control.
    WINDEV a static Tab control or a dynamic Tab control.

Modifying a control so that it keeps (or not) its value between two application starts Hide the details

<Control Name>..StoreTheValue = <New Management Mode>
<Control Name>: Character string (with or without quotes)
Name of control to use. This control can be:
  • a Check Box or Radio Button control,
  • a Combo Box or List Box control,
  • an edit control,
  • Versions 20 and later
    WINDEV a static Tab control or a dynamic Tab control.
    New in version 20
    WINDEV a static Tab control or a dynamic Tab control.
    WINDEV a static Tab control or a dynamic Tab control.
<New Management Mode>: Boolean
  • True if the control must keep its value between two application starts,
  • False otherwise.
Remarks
  • If this property is set to True after the initialization step, the control will not take the previous value.
  • This property is useful to configure the controls created by ControlCreate and ControlClone.
  • This property corresponds to the "Store the value" option found in the popup menu of AAFs (Automatic Application Features). When a control is created by ControlCreate, the menu of AAFs is available to the end user: the management of persistence can be added thereafter (except if the option is disabled by DisableAAF).This property corresponds to the "Store the value" option found in the popup menu of AAFs (Automatic Application Features). When a control is created by ControlCreate, the menu of AAFs is available to the end user: the management of persistence can be added thereafter (except if the option is disabled by AAFDisable (or DisableAAF).
Minimum required version
  • Version 19
This page is also available for…
Comments
Click [Add] to post a comment