PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
WINDEVLinux This function is now available for WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for WINDEV applications in Linux.
WINDEVLinux This function is now available for WINDEV applications in Linux.
Versions 17 and later
WindowsLinux This function is now available for the WEBDEV sites.
New in version 17
WindowsLinux This function is now available for the WEBDEV sites.
WindowsLinux This function is now available for the WEBDEV sites.
Versions 18 and later
Universal Windows 10 App This function is now available in Windows Store apps mode.
New in version 18
Universal Windows 10 App This function is now available in Windows Store apps mode.
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 required version
  • Version 23
This page is also available for…
Comments
Click [Add] to post a comment