PC SOFT

ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Home | Sign in | English EN
New WINDEV, WEBDEV and WINDEV Mobile 27 feature!
  • Activation/Deactivation
  • ListSeek function
  • Auto-filled combo boxes
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Allows (or not) to retrieve the value defined by gStoredValue in a List Box control or in a Combo Box control.
Remark: This function is equivalent to gLinkActivate.
Versions 15 and later
Android This function is now available for Android applications.
New in version 15
Android This function is now available for Android applications.
Android This function is now available for Android applications.
Versions 16 and later
PHP This function is now available for PHP sites.
WINDEVLinux This function is now available for WINDEV applications in Linux.
New in version 16
PHP This function is now available for PHP sites.
WINDEVLinux This function is now available for WINDEV applications in Linux.
PHP This function is now available for PHP sites.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Versions 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 18 and later
Android Widget This function is now available in Android widget mode.
New in version 18
Android Widget This function is now available in Android widget mode.
Android Widget This function is now available in Android widget 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
// The Combo Box control "COMBO_Title" displays the titles:
// "Mister", "Madam" and "Miss".
// An integer representing a gender will be returned to the language.
ListeAdd(COMBO_Title, "Mister" + gStoredValue("1"))
// Only the string "1" is returned to the language.
// This string is not displayed in the Combo Box control.
// Allow retrieving the value defined with gStoredValue.
gStoredValueEnable(COMBO_Title, True)
Syntax
<Result> = gStoredValueEnable(<List Box or Combo Box control> [, <Enabled>])
<Result>: Boolean
Corresponds to the former management mode:
  • True if the value defined by gStoredValue was retrieved (default value),
  • False otherwise.
<List Box or Combo Box control>: Control name
Name of List Box or Combo Box control to use.
<Enabled>: Optional boolean
  • True if the value defined by gStoredValue must be retrieved (default value),
  • False otherwise.
Remarks

Activation/Deactivation

  • If the values defined with gStoredValue are retrieved from the COMBO_COMBO1 control (<Active> = True):
    COMBO_COMBO1.Value returns the order number in the COMBO_COMBO1 control.
    COMBO_COMBO1[COMBO_COMBO1] returns the value of gStoredValue.
  • If the retrieval of values defined by gStoredValue is disabled on the COMBO_COMBO1 control (<Active> = False):
    COMBO_COMBO1.Value returns the order number in the COMBO_COMBO1 control.
    COMBO_COMBO1[COMBO_COMBO1] returns the current displayed value.
    • If the COMBO_COMBO1 control is linked to an item:
      • FileToScreen selects the row whose rank is equal to the linked item.
      • ScreenToFile assigns the linked HFSQL item with the number of the selected element, which means ListSelect(COMBO_COMBO1).

ListSeek function

  • If gStoredValueEnable()=True, ListSeek takes the values added by gStoredValue into account.
  • If gStoredValueEnable()=False, ListSeek ignores the values added by gStoredValue. The search is performed on the displayed value.

Auto-filled combo boxes

gStoredValueEnable is used to manage auto-filled Combo Box controls.
Component: wd270php obj java page.dll
Minimum version required
  • Version 27
This page is also available for…
Comments
Click [Add] to post a comment