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
Used to:
  • * find out whether the "Allow end users to modify the UI" option is enabled in a window (or internal window).
  • enable (or disable) the "Allow end users to modify the UI" option in a window (or internal window).
Example
// Enable the "Allow end users to modify the UI" option
// Allow the end user to move all the controls except for the OK Button control
WIN_OverviewWindow.WinEditMode = wePosition
BTN_OK.WinEditAllowed = weNone
WinEdActive(WIN_OverviewWindow, True)
Syntax

Determining if the "Allow end users to modify the UI" option is enabled Hide the details

<Result> = WinEdActive(<Window>)
<Result>: Boolean
  • True if the "Allow end users to modify the UI" option is enabled,
  • False if the "Allow end users to modify the UI" option is disabled.
<Window>: Window name
Name of the window or internal window to be used.

Enabling or disabling the "Allow end users to modify the UI" option Hide the details

WinEdActive(<Window> , <Enable>)
<Window>: Window name
Name of the window or internal window to be used.
<Enable>: Boolean
  • True to enable the "Allow end users to modify the UI" option. The authorizations of modifications must be defined by WinEditMode and WinEditAllowed.
  • False to disable the "Allow end users to modify the UI" option.
Related Examples:
WD Graphic Objects Training (WINDEV): WD Graphic Objects
[ + ] This example illustrates the power of WLanguage in object oriented programming.
This example is a graphic object editor.

It is possible to:
- move, resize objects
- make selections with a lasso or a mouse
- cut/copy/paste objects
- delete/duplicate objects
- save the created documents and print them.

The main technical features presented and documented are:
- management of an object clipboard
- UNDO/REDO management
- serialization and deserialization of objects
- algorithms for managing graphic objects (proportional resizing, management of move 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, ...
Component: wd290obj.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/26/2023

Send a report | Local help