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 17 and later
iPhone/iPad This function is now available for iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for iPhone/iPad applications.
iPhone/iPad This function is now available for iPhone/iPad applications.
Versions 18 and later
Android This function is now available for Android applications.
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Android This function is now available for Android applications.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Android This function is now available for Android applications.
Universal Windows 10 App This function is now available in Windows Store apps mode.
Versions 21 and later
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
New in version 21
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
Universal Windows 10 App This function is now available in Universal Windows 10 App mode.
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