ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Looper functions
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
<Looper>.SelectCount (Function)
In french: <Zone répétée>.SelectOccurrence
Returns the number of selected rows in a Looper control. The selected rows correspond to the current rows on which the selection bar is displayed.
Note: The <Looper>.SelectCount function can be used on both:
  • a Looper control based on a data file or populated programmatically.
  • a single-selection or multi-selection Looper control.
Example
i is int 
NbSélectionné is int 
NbSélectionné = ZR_PRODUIT.SelectOccurrence() 
FOR i = 1 TO NbSélectionné
	Trace("Répétition sélectionnée: " + i) 
END
Syntax
<Result> = <Looper control>.SelectCount()
<Result>: Integer
  • Number of rows selected in the specified Looper control,
  • 0 if no row is selected.
This number can be higher than 1 for multi-selection Looper controls.
<Looper control>: Control name
Name of the Looper control to be used.
Component: wd300obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/11/2025

Send a report | Local help