Hello,
if I want to save a PDF that is already open by another user, a cannot save dialog appears with the 3 options Retry, Save As .. and Close.
How do i detect which operation was executed?
Best Regards,
edvschu
cannot save dialog detect operation
Moderators: TrackerSupp-Daniel, Tracker Support, Paul - Tracker Supp, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan
Forum rules
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
DO NOT post your license/serial key, or your activation code - these forums, and all posts within, are public and we will be forced to immediately deactivate your license.
When experiencing some errors, use the IAUX_Inst::FormatHRESULT method to see their description and include it in your post along with the error code.
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: cannot save dialog detect operation
Hello edvschu,
If he hits Cancel, then operation will be terminated. If the user hits Save As or Retry, the entire method will start from the top from the e.document.beforeSave event. The Save As method can be distinguished with the PXV_DocSave_Copy flag that can be extracted from the https://sdkhelp.pdf-xchange.com/vi ... beforeSave https://sdkhelp.pdf-xchange.com/vi ... cSaveEvent.
Cheers,
Alex
If he hits Cancel, then operation will be terminated. If the user hits Save As or Retry, the entire method will start from the top from the e.document.beforeSave event. The Save As method can be distinguished with the PXV_DocSave_Copy flag that can be extracted from the https://sdkhelp.pdf-xchange.com/vi ... beforeSave https://sdkhelp.pdf-xchange.com/vi ... cSaveEvent.
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
Re: cannot save dialog detect operation
Is there a way to catch close answer from dialog? In e.document.afterSave i see param1 and param2 contains not 0.
That shows an error occured. Then cannot save dialog is shown.
How can i hide save as button on dialog. User should not have that possibility.
That shows an error occured. Then cannot save dialog is shown.
How can i hide save as button on dialog. User should not have that possibility.
-
- User
- Posts: 5522
- Joined: Fri Nov 21, 2014 8:27 am
- Contact:
Re: cannot save dialog detect operation
Hello edvschu,
If you want to alter the message box - check this out:
viewtopic.php?f=66&t=31524#p127754
Cheers,
Alex
If you want to alter the message box - check this out:
viewtopic.php?f=66&t=31524#p127754
Cheers,
Alex
Subscribe at:
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ
https://www.youtube.com/channel/UC-TwAMNi1haxJ1FX3LvB4CQ