on 08-27-2008 1:46 PM
Hi Experts,
I have created an interactive form using NWDS and I am able to show it as Collable Object. Now the requirement is that I have to disable the save button from the PDF.
Can you please let me know how to disable the Save Button for the interactive form?
Thanks in Advance
Regards,
Kuldeep Verma
Hi Kuldip,
if you're trying to hide the Save Button in the Adobe toolbar, then you can place the following code in the wdDoModifyView method to hide the whole toolbar.
// Get interactibe form handler.
IWDPDFDocumentInteractiveFormHandler iFormHandler = WDPDFDocumentFactory.getDocumentHandler(wdThis.wdGetAPI(), "<name of your form>");
// Get appearance setter.
IWDPDFDocumentAppearance appearance = iFormHandler.getDocumentContext().getAppearance();
// Hide menu bar.
appearance.hideMenuBar(true);
// Hide tool bars.
appearance.hideToolBars(true);
hope this helps,
harman
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi
Type in the following script for the button in the initialize event. Script language is formcalc.
<Your button name>.access = "readOnly"
Regards
Thashin
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
95 | |
11 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.