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 one of the controls selected by the end user when modifying the interface ("Edit by the end user" mode enabled).
Example
// Deselects the current control
X is Control
X <- WinEdSelect(WIN_Form)
WinEdSelectMinus(WIN_Form, X)
// Enumerate the selected controls
X is Control
FOR i = 1 _TO_ WinEdSelectOccurrence(WIN_Form)
X <- WinEdSelect(WIN_Form, i)
Trace(X..Name)
END
Syntax
<Result> = WinEdSelect(<Window> [, <Subscript>])
<Result>: Control
  • If the multiple selection is not enabled, this parameter corresponds to the selected control.
  • If the multiple selection is enabled, this parameter corresponds to the Nth control of the selection (<Subscript> parameter).
This result can be assigned to a Control variable in order to be used.
<Window>: Character string (with or without quotes)
Name of the window or internal window to use. This window must be in modification mode (WinEdActive).
<Subscript>: Optional integer
Subscript of the element for a multiple selection. If this parameter is not specified, the first selected control is taken into account.
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment