PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Managing the saved parameters
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
GadgetSaveParameter (Function)
In French: GadgetSauveParamètre
Saves a persistent value in a gadget. Then, this value can be read by GadgetLoadParameter.
Example
// Save a parameter
GadgetSaveParameter("Max_Num", pValue)
Syntax
GadgetSaveParameter(<Parameter Name> , <Parameter Value>)
<Parameter Name>: Character string (with quotes)
Name of the parameter to save (up to 1024 characters). This parameter must not correspond to an empty string ("").
<Parameter Value>: Type of the parameter to save
Value of the parameter to save (up to 2048 characters).
Remarks

Managing the saved parameters

  • The data is saved independently by each gadget: if the same gadget is used several times, each gadget contains its own parameters.
  • If a gadget is closed (which means deleted from the pane), its parameters are erased.
  • A saved parameter cannot be deleted.
Components
WEBDEV - Browser code WDJS.DLL
Minimum required version
  • Version 12
Comments
Click [Add] to post a comment