Close & Save Method Issue

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

Moderators: TrackerSupp-Daniel, Tracker Support, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Sean - Tracker, Ivan - Tracker Software, Tracker Supp-Stefan

Davidpol
User
Posts: 15
Joined: Tue May 29, 2007 5:01 pm
Location: Hawthorne NY 10532-2146

Close & Save Method Issue

Post by Davidpol »

We are now able to load and display the pdf files. But cannot figure out how to communicate to the Forms Server to save the doc by our controlling program issuing a call to the Forms Server (close button on the container but outside the pdf viewer. Are we missing some call?

If there is no call then consider:

Method 1
We can save the document by enabling the tool bar with the Open/Save/Print options but this has the following drawbacks:

1. User can try and open another document. We need to keep them from doing that as we are controlling which document is being viewed and filled. The pdf file is going to be parsed after they save the data.

Solution 1 is to be able to disable the Open button as an option.
Solution 2 is to provide for User definable buttons on the button bar like Microsoft Office. That way we can add or remove buttons as needed.

2. Your component issues it's own warning message of "do you wish to save".

A very programmer type of message. We would prefer to use our own message standard or better - disable this message as a settable option (property).

Method 2
Allow for the main controlling application to issue a request to the Form server to close the application. Then we can place a button of the container and when the user clicks Our Save Button we issue a request to the Forms Server to save the form.
User avatar
John - Tracker Supp
Site Admin
Posts: 5219
Joined: Tue Jun 29, 2004 10:34 am
Location: United Kingdom

Post by John - Tracker Supp »

Hi David
That way we can add or remove buttons as needed.

...Also - disable/enable of commands.
This possibility will be added in the future, however to do so we need standardize the table of commands available for public usage, therefore this may be a little while yet ...

2. Your component issues it's own warning message of "do you wish to save"...disable this message as a settable option (property).

- this will be available in the next Ax release.

HTH
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com
Davidpol
User
Posts: 15
Joined: Tue May 29, 2007 5:01 pm
Location: Hawthorne NY 10532-2146

Post by Davidpol »

Best to look at the properties that Adobe provides. Many developers are already programming to this standard. See attachment..
You do not have the required permissions to view the files attached to this post.
User avatar
John - Tracker Supp
Site Admin
Posts: 5219
Joined: Tue Jun 29, 2004 10:34 am
Location: United Kingdom

Post by John - Tracker Supp »

Thank you David.
If posting files to this forum - you must archive the files to a ZIP, RAR or 7z file or they will not be uploaded - thank you.

Best regards
Tracker Support
http://www.tracker-software.com