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
Load:
  • the changes made by the end user in a window. These changes have been saved in memory or in a file.
  • the notes created by the end user in a window.
Remark: This function can be used when the "Allow end users to modify the UI" option is allowed for the windows of the application.
Example
// Click on [Save]
WinEdSave(WIN_Overview, "My changes.wdmodif")
 
// Click on [Load]
WinEdLoad(WIN_Overview, "My changes.wdmodif")
IF ErrorOccurred = True THEN
Info("Unable to load" + CR + ErrorInfo())
END
Syntax

Loading the changes saved in a buffer Hide the details

<Result> = WinEdLoad(<Window> , <Buffer>)
<Result>: Boolean
  • True if changes were loaded,
  • False if an error occurs. To get more details on the error, use ErrorInfo.
<Window>: Window name
Name of the window or internal window to be used.
<Buffer>: Buffer variable
Buffer containing the changes (previously saved with WinEdSave).

Loading the changes saved in a file Hide the details

<Result> = WinEdLoad(<Window> , <File>)
<Result>: Boolean
  • True if changes were loaded,
  • False if an error occurs. To get more details on the error, use ErrorInfo.
<Window>: Window name
Name of the window or internal window to be used.
<File>: Character string
  • Name and full or relative path of the ".wdmodif" file containing the changes made (previously saved with WinEdSave).
  • Name and full or relative path of the ".wdnote" file containing the notes created by the user (the notes have been saved beforehand by WinEdSaveNote).
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, ...
Business / UI classification: UI Code
Component: wd290obj.dll
Minimum version required
  • Version 21
This page is also available for…
Comments
Click [Add] to post a comment

Last update: 06/23/2023

Send a report | Local help