ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
WINDEV
WindowsLinuxJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac Catalyst
Others
Stored procedures
The WinEditMode property is used to determine and configure the actions allowed on a window and its controls when the window switches to "Allow end users to modify the UI" mode.
Example
// Autorise la modification de la taille et de la position dans la fenêtre 
// sauf pour le bouton OK 
FEN_MaFenêtre.FenEditionMode = weSelection + wePosition + weSize
BTN_OK.FenEditionAutorisée = weNone
WinEdActive(FEN_MaFenêtre, True)
Syntax

Finding out the operations allowed on a window and its controls Hide the details

<Result> = <Window used>.WinEditMode
<Result>: Integer constant (or combination of constants)
Combination of the following constants:
weAddRepositionableNoteThe end user can add a repositionable note in the window.
weAddWireThe end user can add a wire between several controls.
weChangeTooltipThe end user can modify the tooltips of the controls.
weChangeWireThe end user can modify the wires between the controls.
weMoveControlThe end user can move controls.
weMultiSelectionThe end user can select several controls at the same time.
Warning: This constant requires the use of the constant feSélection.
wePositionThe end user can move controls.
weResizeControlThe end user can resize the controls.
weSelectionThe end user can select controls.
weSizeThe end user can resize controls.
<Window used>: Window name
Name of the window to be used.

Modifying the operations allowed on a window and its controls Hide the details

<Window used>.WinEditMode = <Authorized operations>
<Window used>: Window name
Name of window to use.
<Authorized operations>: Integer constant (or combination of constants)
Permitted operations on the window and its fields:
weAddRepositionableNoteThe end user can add a repositionable note in the window.
weAddWireThe end user can add a wire between several controls.
weAllThe end user can modify everything in the window.
This option cannot be combined with one of the other options.
weChangeTooltipThe end user can modify the tooltips of the controls.
weChangeWireThe end user can modify the wires between the controls.
weMoveControlThe end user can move controls.
weMultiSelectionThe end user can select several controls at the same time.
Warning: This constant requires the use of the constant feSélection.
weNoneThe end user cannot modify or select anything in the window. This option is the default option.
This option cannot be combined with one of the other options.
wePositionThe end user can move controls.
weResizeControlThe end user can resize the controls.
weSelectionThe end user can select controls.
weSizeThe end user can resize controls.
Remarks
The WinEditMode property is used to set modification permissions on a window and its controls. The permissions can be configured on each control with the WinEditAllowed property.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 05/10/2025

Send a report | Local help