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
..WinEditMode is used to find out and modify the actions allowed on the window and its controls when the window switches to the mode "Modification of GUI by the end user".
Example
// Allows the size and position to be modified in the window
// except for the OK button
WIN_MyWindow..WinEditMode = weSelection + wePosition + weSize
BTN_OK..WinEditAllowed = weNone
WinEdActive(WIN_MyWindow, True)
Syntax

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

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

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

<Window>..WinEditMode = <Authorized operations>
<Window>: Window name
Name of window to use.
<Authorized operations>: Integer constant (or combination of constants)
Operations allowed on the window and its controls:
weAddWireThe end user can add a wire between several controls.
weAddRepositionableNoteThe end user can add a repositionable note into the window.
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.
weChangeTooltipThe end user can modify the tooltips of controls.
weChangeWireThe end user can modify the wires between the controls.
weMoveControlThe end user can move the controls.
weMultiSelectionThe end user can select several controls at the same time.
Caution: This constant requires the use of the weSelection constant.
wePositionThe end user can move the controls.
weResizeControlThe end user can resize the controls.
weSelectionThe end user can select the controls.
weSizeThe end user can modify the size of controls.
weAllThe end user can modify everything in the window.
This option cannot be combined with one of the other options.
Remarks
..WinEditMode is used to define the authorizations for performing modifications on a window and its controls. The authorizations can be configured control by control with ..WinEditAllowed.
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment