OnEvent(...Tab close button..)

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: PDF-XChange Support, Daniel - PDF-XChange, Chris - PDF-XChange, Sean - PDF-XChange, Vasyl - PDF-XChange, Ivan - Tracker Software, Stefan - PDF-XChange

Rad1
User
Posts: 108
Joined: Wed May 13, 2009 2:21 pm

OnEvent(...Tab close button..)

Post by Rad1 »

Hi,

It is now possible to listen the close document event ? I need to make some actions when closing documents. In the pdf SDKHelp , I think I'don't have the complete list of events.

Can you help me ?

PS : I use JavaScript.
Vasyl-Tracker Dev Team wrote:.....
Special notice about closing the document will be added in the near future.

regards.
User avatar
Vasyl - PDF-XChange
Site Admin
Posts: 2448
Joined: Thu Jun 30, 2005 4:11 pm

Re: OnEvent(...Tab close button..)

Post by Vasyl - PDF-XChange »

It is impossible in the current realizations.
But you can use alternate method:
you can process case below:
OnEvent(PXCVA_OnPropertyChanged, "Documents.Count", ...) { .. }
The property, named as "Documents.Count", will be changed by Viewer Control after open|close of any document.
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.