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
Saves the modifications performed in "Edit by the end user" mode. These modifications can be saved in memory or in a file.
Example
// Click on [Save]
WinEdSave(WIN_Overview, "My modifications.wdmodif")


// Click on [Load]
WinEdLoad(WIN_Overview, "My modifications.wdmodif")
IF ErrorOccurred = True THEN
Info("Unable to load" + CR + ErrorInfo())
END
Syntax

Saving the modifications in a buffer Hide the details

<Result> = WinEdSave(<Window> , <inMemory> , <Backup Mode>)
<Result>: Buffer
Buffer containing the result of the backup. The buffer is empty if no modification was performed.
<Window>: Character string (with or without quotes)
Name of the window or internal window to use.
<inMemory>: Constant
inMemory: Constant used to save the modifications in memory.
<Backup Mode>: Integer constant
Backup to perform:
weModeFullSave all the controls and their current properties. This constant can be used on an internal window only.
weModeDifferential
(Default value)
Save all the modification operations, including the custom operations (WinEdDo). All these operations will be replayed during the reload operation (like for a log).
weModeReposionableNoteSave the repositionable notes created by the user only. This constant is equivalent to the "Export the notes" feature found in the popup menu of repositionable notes (AAF).

Saving the modifications in a file Hide the details

<Result> = WinEdSave(<Window> , <File Name> , <Backup Mode>)
<Result>: Boolean
  • True if the modifications have been saved,
  • False if an error occurred. To find out the error details, use ErrorInfo.
Note: If no modification was performed, <Result> is set to False.
<Window>: Character string (with or without quotes)
Name of window or internal window to use.
<File Name>: Character string (with quotes)
Name of the file where the backup will be performed. The extension of this file is "wdmodif".
<Backup Mode>: Integer constant
Backup to perform:
weModeFullSave all the controls and their current properties. This constant can be used on an internal window only.
weModeDifferential
(Default value)
Save all the modification operations, including the custom operations (WinEdDo). All these operations will be replayed during the reload operation (like for a log).
weModeReposionableNoteSave the repositionable notes created by the user only. This constant is equivalent to the "Export the notes" feature found in the popup menu of repositionable notes (AAF).
You also have the ability to use WinEdSaveNote to save the repositionable notes created by the user only.
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