<< Click to Display Table of Contents >> BeforeSaveFile Event - Python |
![]() ![]() ![]() |
Is fired when the user clicked the Save File button in the toolbar (or pushed the corresponding key).
integer BeforeSaveFile()
Remarks:
The event handler should return:
Value |
Description |
0 |
continue operation |
1 |
cancel the event, i.e. deny that the file save dialog will be shown. Cancelling the operation allows you to display your own save dialog and to export your own document, for example to a memory stream and from there to a database. |