|
|
|
|
|
WinEdActive (Function) In french: FenEdActive 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).
// 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:
|
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...)
|
|
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, ...
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|