|
|
|
|
ListSelectCount (Function) In french: ListeSelectOccurrence 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: ListSelectCount can be used on: - List Box controls based on a data file or populated programmatically,
- single-selection or multi-selection List Box controls.
// Number of elements selected in the "LIST_CustomerList" control ResSelectedElements = ListSelectCount(LIST_CustomerList)
Syntax
<Result> = ListSelectCount(<List Box control>)
<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. If this parameter corresponds to an empty string (""), the number of elements selected in the List Box control (or Combo Box) to which the current event belongs is returned.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|