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
Returns the subscript of selected element in a Looper control. The selected element corresponds to the current row on which the selection bar is displayed.
Note: <Looper>.Select can be used on:
  • a browsing or memory Looper control.
  • a single-selection or multiselection Looper control. For multi-selection Looper controls, <Looper>.Select must be used in a loop in order to retrieve all selected rows.
Versions 16 and later
Linux This function is now available for WINDEV applications in Linux.
New in version 16
Linux This function is now available for WINDEV applications in Linux.
Linux This function is now available for WINDEV applications in Linux.
Versions 17 and later
WEBDEV - Server codeWindowsLinux This function is now available for the WEBDEV sites.
New in version 17
WEBDEV - Server codeWindowsLinux This function is now available for the WEBDEV sites.
WEBDEV - Server codeWindowsLinux This function is now available for the WEBDEV sites.
Example
// Subscript of the selected row in the "LOOP_Product" Looper control
ResSelect = LOOP_Product.Select()
// Rows selected in a multi-selection memory Looper control
i is int
NbSelected is int = LOOP_Looper1.SelectCount()
FOR i = 1 TO NbSelected
Trace("Selected element: " + LOOP_Looper1.Select(i))
END
Syntax
<Result> = <Looper control>.Select([<Rank>])
<Result>: Integer
  • Subscript of selected row in the specified Looper control,
  • -1 if no row is selected.
<Looper control>: Control name
Name of Looper control to use.
<Rank>: Optional integer
Rank of selection for a multiselection Looper control.
If this parameter is not specified, the subscript of first selected row is returned.
For example, to retrieve the first selected element, <Rank> = 1.
To retrieve the second selected element, <Rank> = 2, ...
Component : wd240obj.dll
Minimum version required
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment