PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • 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
GadgetLoadParameter (Function)
In french: GadgetChargeParamètre
Warning
From version 24, this feature is no longer available.
Loads a persistent value in a gadget. This value was saved by GadgetSaveParameter.
Example
// Retrieve a saved value
Info(GadgetLoadParameter("Max_Num", 3))
Syntax
<Result> = GadgetLoadParameter(<Parameter Name> [, <Default Value>])
<Result>: Type of sought result
Value of sought parameter. If the sought parameter is not found, corresponds to <Default Value> or to an empty string ("") if no default value was defined.
<Parameter Name>: Character string (with quotes)
Name of parameter to find (up to 1024 characters). This parameter must not correspond to an empty string ("").
<Default Value>: Type of parameter, optional
Default value of parameter, returned if the parameter value is not found.
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.
Component : WDJS.DLL
Minimum version required
  • Version 12
Comments
Click [Add] to post a comment