PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Activation/Deactivation
  • ListSeek function
  • Self-filled combo boxes
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
Allows (or not) to retrieve the value defined by gLink in a List Box control or in a Combo Box control.
Versions 15 and later
Android This function is now available for the Android applications.
New in version 15
Android This function is now available for the Android applications.
Android This function is now available for the Android applications.
Versions 16 and later
PHP This function is now available for the PHP sites.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
New in version 16
PHP This function is now available for the PHP sites.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
PHP This function is now available for the PHP sites.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the 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_Title" combo box displays the genders:
// "Mister", "Madam" and "Miss".
// An integer representing a gender will be returned to the language.
ListAdd(COMBO_Title, "Mister" + gLink("1"))
// Only the string "1" is returned to the language.
// This returned character string is not displayed in the combo box.
// Allow to retrieve the value defined by gLink.
gLinkActivate(COMBO_Title, True)
Syntax
<Result> = gLinkActivate(<Name of List Box or Combo Box> [, <Active>])
<Result>: Boolean
Corresponds to the former management mode:
  • True if the value defined by gLink was retrieved (default value),
  • False otherwise.
<Name of List Box or Combo Box>: Character string (with or without quotes)
Name of List Box or Combo Box control to use.
<Active>: Optional boolean
  • True if the value defined by gLink must be retrieved (default value),
  • False otherwise.
Remarks

Activation/Deactivation

  • If the retrieval of values defined by gLink is enabled on 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 gLink.
    • If the COMBO_COMBO1 control is linked to an item:
  • If the retrieval of values defined by gLink 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 gLinkActivate()=True, ListSeek takes the values added by gLink into account.
  • If gLinkActivate()=False, ListSeek ignores the values added by gLink. The search is performed on the displayed value.

Self-filled combo boxes

gLinkActivate is used to manage the auto-filled combo boxes.
Components
WINDEVWEBDEV - Server codeReports and Queries wd230dllexe.dll
Windows Mobile wp230dllexe.dll
Java wd230java.jar
Linux wd230dllexe.so
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment