ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage functions / Controls, pages and windows / Windows functions that can be handled by the end user
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Returns one of the controls selected when the interface is modified by the end user ("Allow end users to modify the UI" option 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> [, <Index>])
<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 (<Index> parameter).
This result can be assigned to a Control variable in order to be used.
<Window>: Window name
Name of the window or internal window to be used. This window must be in edit mode (WinEdActive).
<Index>: Optional integer
Index of the element in a multiple selection. If this parameter is not specified, the first selected control is taken into account.
Component: wd290obj.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/20/2023

Send a report | Local help