PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
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
Used to:
  • find out whether the "Edit by the end user" mode is enabled in a window (or in an internal window).
  • enable (or not) the "Edit by the end user" mode in a window (or in an internal window.
Example
// Enables the "Edit by the end user" mode
// Allows the end user to move all the controls except for the OK button
WIN_OverviewWindow..WinEditMode = wePosition
BTN_OK..WinEditAllowed = weNone
WinEdActive(WIN_OverviewWindow, True)
Syntax

Find out whether the "Edit by the end user" mode is enabled Hide the details

<Result> = WinEdActive(<Window>)
<Result>: Boolean
  • True if the "Edit by the end user" mode is enabled,
  • False if the "Edit by the end user" mode is disabled.
<Window>: Character string (with or without quotes)
Name of the window or internal window to use.

Enabling (or not) the "Edit by the end user" mode Hide the details

WinEdActive(<Window> , <Enable>)
<Window>: Character string (with or without quotes)
Name of the window or internal window to use.
<Enable>: Boolean
  • True to enable the "Edit by the end user" mode. The authorizations of modifications must be defined by ..WinEditMode and ..WinEditAllowed.
  • False to disable the "Edit by the end user" mode.
Related Examples:
WD Graphic Objects Training (WINDEV): WD Graphic Objects
[ + ] This educational example illustrates the power of WLanguage regarding object-oriented programming.
This example is an editor of graphic objects.

You have the ability to:
- move, resize the objects
- perform selections with the lasso or with the mouse
- cut/copy/paste objects
- delete/duplicate objects
- save the created documents and print them.

The main technical features presented and documented in this example are as follows:
- managing a clipboard of objects
- managing UNDO/REDO
- serializing and deserializing objects
- OOP
- algorithms for managing graphic objects (proportional resize operations, management of movement rules, etc.)
WD Interactive Application Training (WINDEV): WD Interactive Application
[ + ] This example explains how to use the WinEdXXX functions in an interactive application.
This application is used to mange a connected house (switch the lights on, find out the temperature).

The WinEdXXX functions are used to move the controls on the house map, while proposing advanced features such as the backup of modifications, the cancelation, ...
Components
WINDEVReports and Queries wd230obj.dll
Minimum required version
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment