Hi,
I have to react if the user wants to close a document and be able to stop closing.
Is there an event like Notifications.BeforeCloseDoc?
Best regards
cew
Event missing: Notifications.BeforeCloseDoc
Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange
-
- User
- Posts: 213
- Joined: Tue Feb 01, 2011 8:14 am
-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am
Re: Event missing: Notifications.BeforeCloseDoc
Hello cew,
Or you could just disable the close command
Have a look at Section
3.5 How to Disable a Command?
In the Viewer AX SDK Manual for details.
Best,
Stefan
Or you could just disable the close command

Have a look at Section
3.5 How to Disable a Command?
In the Viewer AX SDK Manual for details.
Best,
Stefan
-
- User
- Posts: 213
- Joined: Tue Feb 01, 2011 8:14 am
Re: Event missing: Notifications.BeforeCloseDoc
Ok, that's not what I was looking for, but I can live with that "workaround"...
Best
cew
Best
cew
-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am
Re: Event missing: Notifications.BeforeCloseDoc
Sorry Cew,
I just spoke with one of the devs and he confirmed that there is no better way.
Best,
Stefan
I just spoke with one of the devs and he confirmed that there is no better way.
Best,
Stefan
-
- Site Admin
- Posts: 2448
- Joined: Thu Jun 30, 2005 4:11 pm
Re: Event missing: Notifications.BeforeCloseDoc
Hi, cew
We will add two new events into the new build (195):
Notifications.BeforeCloseDoc
Notifications.DocClosed
Look for details in the updated SDK-help.
HTH.
We will add two new events into the new build (195):
Notifications.BeforeCloseDoc
Notifications.DocClosed
Look for details in the updated SDK-help.
HTH.
PDF-XChange Co. LTD (Project Developer)
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
Please archive any files posted to a ZIP, 7z or RAR file or they will be removed and not posted.
-
- User
- Posts: 213
- Joined: Tue Feb 01, 2011 8:14 am
Re: Event missing: Notifications.BeforeCloseDoc
GREAT SUPPORT!!!
Thank you!!
Best
cew
Thank you!!
Best
cew
-
- Site Admin
- Posts: 19913
- Joined: Mon Jan 12, 2009 8:07 am