PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
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
<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.
Remark: <Looper>.SelectCount can be used on:
  • a browsing or memory Looper control.
  • a single-selection or multiselection Looper control.
Example
i is int
NbSelected is int
NbSelected = LOOP_PRODUCT.SelectCount()
FOR i = 1 TO NbSelected
Trace("Selected row: " + 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 multiselection Looper controls.
<Looper control>: Control name
Name of Looper control to use.
Component : wd250obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment