PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Combo Box control
  • Miscellaneous
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
Deselects an element from a List Box (or ListView) control or from a Combo Box control.
Reminder: The selected element corresponds to the current element onto which the selection bar is displayed.
Note: ListSelectMinus can be used on:
  • the browsing or memory List Box controls,
  • single-selection or multiselection Looper controls.
Versions 16 and later
WINDEVLinux This function is now available for WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for WINDEV applications in Linux.
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 This function is now available for Android applications.
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Android This function is now available for Android applications.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android This function is now available for Android applications.
Universal Windows 10 App This function is now available in Windows Store apps 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
// Deselect the element found at subscript 7 from "LIST_CustomerList" control
ListSelectMinus(LIST_CustomerList, 7)
Syntax
ListSelectMinus(<List Box control> [, <Subscript 1> [... [, <Subscript N>]]])
<List Box control>: Control name
Name of List Box (or Combo Box) control to use. If this parameter corresponds to an empty string (""), the element specified by its subscript is deselected in the List Box control (or Combo Box) to which the current event belongs.
WEBDEV - Browser code The name of the List Box (or Combo Box) control to use must be specified.
<Subscript 1>: Optional integer
Subscript of first element to deselect.
If no subscript is specified, all the elements found in the specified List Box (or Combo Box) control are deselected.
ListSelectMinus has no effect if these subscripts correspond to elements that are not selected.
<Subscript N>: Optional integer
Subscript of Nth element to deselect.
If no subscript is specified, all the elements found in the specified List Box (or Combo Box) control are deselected.
ListSelectMinus has no effect if these subscripts correspond to elements that are not selected.
Remarks

Combo Box control

If ListSelectMinus is used with a Combo Box control:
  • no element of Combo Box control is displayed,
  • if the Combo Box control is editable, the edit control is cleared.

Miscellaneous

  • To deselect an element from a Table control, use TableSelectMinus.
  • ListSelectMinus can be used on a "Combo Box" table column.
Component : wd240obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment