AYUDA EN LÍNEA
 WINDEVWEBDEV Y WINDEV MOBILE

Ayuda / WLanguage / Funciones WLanguage / Controles, páginas y ventanas / Funciones List Box
  • Miscellaneous
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
Returns the number of elements selected in a List Box, ListView or Combo Box control.
Reminder: The selected element corresponds to the current element onto which the selection bar is displayed.
Remark: <List Box>.SelectCount can be used on:
  • List Box controls based on a data file or populated programmatically,
  • single-selection or multi-selection List Box controls.
Example
// Number of elements selected in the "LIST_CustomerList" control
ResSelectedElements = LIST_CustomerList.SelectCount()
Syntax
<Result> = <List Box control>.SelectCount()
<Result>: Integer
Number of elements selected in the specified List Box (or Combo Box) control. This parameter:
  • can be greater than 1 only if the List Box control is multi-selection,
  • is equal to 1 if the Combo Box control is not editable or if the Combo Box control is editable and if an element is selected,
  • is equal to 0 if the Combo Box control is editable and no element is selected.
<List Box control>: Control name
Name of List Box (or Combo Box) control to use.
Remarks
WINDEVReports and QueriesJavaUser code (UMC)

Miscellaneous

<List Box>.SelectCount can be used on a "Combo Box" table column.
Component: wd290obj.dll
Versión mínima requerida
  • Versión 23
Comentarios
Haga clic en [Agregar] para publicar un comentario

Última modificación: 19/06/2023

Señalar un error o enviar una sugerencia | Ayuda local