PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
LocalStorageAdd (Function)
In French: StockageLocalAjoute
Adds a value to the local storage.
Example
LocalStorageAdd(EDT_NameInput)
Syntax

Adding a value directly Hide the details

LocalStorageAdd(<Value Name> , <Value> [, <Persistent>])
<Value Name>: Character string (with quotes)
Name of added value.
<Value>: Character string (with quotes)
Added value.
<Persistent>: Optional boolean
  • True to work on the persistent local storage (default value).
    In this case, the values can be shared by all the windows and tabs of the same browser on a computer. Therefore, they can be retrieved once the browser was closed then reopened or in another browser window.
  • False to work on the storage local to a browser window or to a browser tab.
    in this case, the values will be lost when the browser window (or tab) is closed. On the contrary, these values can be read by the browser windows or by the browser tabs opened from the window where the values have been stored.

Adding the value of a control Hide the details

LocalStorageAdd(<Element Name> [, <Persistent>])
<Element Name>: Character string (with or without quotes)
Name of control whose value is added.
<Persistent>: Optional boolean
  • True to work on the persistent local storage (default value).
    In this case, the values can be shared by all the windows and tabs of the same browser on a computer. Therefore, they can be retrieved once the browser was closed then reopened or in another browser window.
  • False to work on the storage local to a browser window or to a browser tab.
    in this case, the values will be lost when the browser window (or tab) is closed. On the contrary, these values can be read by the browser windows or by the browser tabs opened from the window where the values have been stored.
Components
WEBDEV - Browser code WDJS.DLL
Minimum required version
  • Version 16
Comments
Click [Add] to post a comment