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 one of the controls selected when the interface is modified by the end user (Mode "Modification of UI by the end user" 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>: Window name
Name of 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.
Component : wd250obj.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment