ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / WLanguage / WLanguage properties / Properties associated with windows, pages and controls
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
The EditMode property gets and sets the editing mode of the Diagram Editor control: selection or freehand drawing.
Example
// Enables freehand drawing
DIAGEDT_MyDiagram.EditMode = diagModeFreehandDrawing
Syntax

Getting the current editing mode in the Diagram Editor control Hide the details

<Result> = <Diagram Editor control>.EditMode
<Result>: Integer constant
Current editing mode in the control:
diagModeFreehandDrawingThe control is in freehand drawing mode.
diagModeSelectionThe control is in selection mode.
<Diagram Editor control>: Control name
Name of the Diagram Editor control used.

Changing the current editing mode in the Diagram Editor control Hide the details

<Diagram Editor control>.EditMode = <New editing mode>
<Diagram Editor control>: Control name
Name of the Diagram Editor control used.
<New editing mode>: Integer constant
New editing mode in the control:
diagModeFreehandDrawingThe control is in freehand drawing mode.
diagModeSelectionThe control is in selection mode.
Minimum version required
  • Version 28
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 03/04/2024

Send a report | Local help