|
|
|
|
|
End-user UI management functions
Remark: These functions are also available in prefix syntax ( End-user UI editing functions (prefix syntax)). The following WLanguage functions allow the end user to manipulate the UI:
| | WinEdActive | Used to: - determine if 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).
| WinEdCreateNote | Creates a Repositionable Note control. | WinEdDeclareUndo | Declares how to cancel an action that was added by WinEdDo. | WinEdDeselectAll | Deselects all the controls when the interface is modified by the end user ("Allow end users to modify the UI" option enabled). | WinEdDo | Runs an action (defined programmatically) and enables Undo/Redo operations on this action. | WinEdLoad | Loads the changes made by the end user in a window. | WinEdRedo | Runs the last action undone by the end user ("Allow end users to modify the UI" option enabled). | WinEdRestore | Undoes all the changes made by the end user ("Allow end users to modify the UI" option enabled). | WinEdSave | Saves the changes made when the "Modification of UI by the end user" mode is enabled. | WinEdSaveNote | Exports the repositionable notes created by the user into a file. | WinEdSelect | Returns one of the controls selected when the interface is modified by the end user ("Allow end users to modify the UI" option enabled). | WinEdSelectMinus | Deselects a control when the interface is modified by the end user ("Allow end users to modify the UI" option enabled). | WinEdSelectOccurrence | Indicates the number of controls selected when the interface is modified by the end user ("Allow end users to modify the UI" option enabled). | WinEdSelectPlus | Selects a control when the interface is modified by the end user ("Allow end users to modify the UI" option enabled). | WinEdUndo | Undoes the last action performed by the end user when modifying the interface ("Allow end users to modify the UI" option enabled). |
Related Examples:
|
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, ...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|