Search found 23 matches

by shaunh
Mon Sep 07, 2020 9:47 am
Forum: PDF-XChange Editor SDK
Topic: Acroform object not refreshed after adding fields SOLVED
Replies: 10
Views: 1715

Re: Acroform object not refreshed after adding fields SOLVED

Thank you for the advice Ivan. Implemented as suggested and this is working now.
by shaunh
Fri Sep 04, 2020 8:44 am
Forum: PDF-XChange Core API SDK
Topic: Programmatically select FFT_ComboBox option
Replies: 8
Views: 4649

Re: Programmatically select FFT_ComboBox option

Hi Alex, Just following up on this. I had to work around this bug by removing all the entries in the list and then repopulating the list box, which then allows me to set the selected items. Ideally you shouldn't have alter the items in the list box to be able to set the selected items, so definitely...
by shaunh
Fri Sep 04, 2020 8:39 am
Forum: PDF-XChange Editor SDK
Topic: Acroform object not refreshed after adding fields SOLVED
Replies: 10
Views: 1715

Re: Acroform object not refreshed after adding fields SOLVED

Hi Alex, This issue is becoming rather urgent and I assuming by the silence that what I am trying to achieve is not possible. What I am seeing is that the Core objects are not refreshed when form changes are made with the editor. So let's change the question ... is there a way to find a specific for...
by shaunh
Thu Sep 03, 2020 8:30 am
Forum: PDF-XChange Editor SDK
Topic: Acroform object not refreshed after adding fields SOLVED
Replies: 10
Views: 1715

Re: Acroform object not refreshed after adding fields SOLVED

Hi Alex,

Just following up to see if you have some feedback for me, or need additional info?
by shaunh
Fri Aug 28, 2020 8:59 am
Forum: PDF-XChange Editor SDK
Topic: Acroform object not refreshed after adding fields SOLVED
Replies: 10
Views: 1715

Re: Acroform object not refreshed after adding fields SOLVED

Hi Alex, The end user is creating a new PDF document and adding fields to the document using the Editor ActiveX object. Just using the built in commands so nothing fancy there. The user then uses one of my custom commands in the ActiveX Editor to submit the PDF form as a template to my webservice. I...
by shaunh
Thu Aug 27, 2020 2:24 pm
Forum: PDF-XChange Editor SDK
Topic: Acroform object not refreshed after adding fields SOLVED
Replies: 10
Views: 1715

Re: Acroform object not refreshed after adding fields SOLVED

Hi Alex, The user is adding the fields with the end user forms tools built into the SDK. Once they are done I have functionality for them to submit it as a template to a webservice. I need to do some validation on the fields before I let them submit it. This is where it fails as the acroform object ...
by shaunh
Thu Aug 27, 2020 8:14 am
Forum: PDF-XChange Editor SDK
Topic: Acroform object not refreshed after adding fields SOLVED
Replies: 10
Views: 1715

Acroform object not refreshed after adding fields SOLVED

Hi Support, It seems the acroform object is not refreshed after the users add fields to a document. The acroform object is null when retrieved directly after adding the fields. If the form is saved, closed and re-opened then the acroform object can be retrieved correctly. Can you please advise how I...
by shaunh
Thu Jul 30, 2020 8:13 am
Forum: PDF-XChange Core API SDK
Topic: Programmatically select FFT_ComboBox option
Replies: 8
Views: 4649

Re: Programmatically select FFT_ComboBox option

Hi Alex, I have worked through the CORE API demo code. If I do similar code with programmatically creating a listbox and adding options, then setting the selected option works fine. It does not seem to want to work with a form that already has options. Here is the weird part though, if I programmati...
by shaunh
Wed Jul 29, 2020 2:32 pm
Forum: PDF-XChange Core API SDK
Topic: Programmatically select FFT_ComboBox option
Replies: 8
Views: 4649

Re: Programmatically select FFT_ComboBox option

Hi Alex, Stuck on the FFT_ListBox type now. Implemented similar code to select items in a multiselect list box. The items are being checked and if debug the code currentField.SelectedItemsCount returns the correct number of items selected. When I save the document all the other field types are fille...
by shaunh
Tue Jul 28, 2020 8:37 am
Forum: PDF-XChange Core API SDK
Topic: Programmatically select FFT_ComboBox option
Replies: 8
Views: 4649

Re: Programmatically select FFT_ComboBox option

Thanks for the response Alex. This confirmed that my code was correct. Found the reason it was not working is because I had to first set the default selected option to false before I could set the new selected item. Something like this... string comboValue = string.Empty; string comboLabel = string....
by shaunh
Mon Jul 27, 2020 7:05 am
Forum: PDF-XChange Core API SDK
Topic: Programmatically select FFT_ComboBox option
Replies: 8
Views: 4649

Programmatically select FFT_ComboBox option

Hi, I need to programmatically fill PDF forms with data retrieved from a database using the CORE API SDK. So far I can successfully fill all field types that I have needed to except the FFT_ComboBox field type. Example code for FFT_RadioButton type is as follows and works fine: // Cycle through widg...
by shaunh
Tue Jul 21, 2020 9:15 am
Forum: PDF-XChange Editor SDK
Topic: Outlook previewer
Replies: 7
Views: 2078

Re: Outlook previewer

Hi support,

Were there any further developments in including the shell extensions in the SDK as discussed in this forum post?
by shaunh
Thu Jul 09, 2020 2:14 pm
Forum: PDF-XChange Editor SDK
Topic: Insert IUIX_PropSheetPage into DlgAppPrefs
Replies: 12
Views: 2334

Re: Insert IUIX_PropSheetPage into DlgAppPrefs

Thank you Alex. The IUIX_Label was my missing link.
by shaunh
Wed Jul 08, 2020 2:22 pm
Forum: PDF-XChange Editor SDK
Topic: Insert IUIX_PropSheetPage into DlgAppPrefs
Replies: 12
Views: 2334

Re: Insert IUIX_PropSheetPage into DlgAppPrefs

Hi Alex, I have another question I hope you can assist with. In my derived IUIX_Dialog class I am trying to get the state of one of my checkboxes in the GetItemCheckState method. I can get the IUIX_Obj for the checkbox but not sure how to proceed from there. There is no checkbox object to cast it to...
by shaunh
Tue Jun 23, 2020 2:27 pm
Forum: PDF-XChange Editor SDK
Topic: Insert IUIX_PropSheetPage into DlgAppPrefs
Replies: 12
Views: 2334

Re: Insert IUIX_PropSheetPage into DlgAppPrefs

Hi Alex, Do you have an example to add a custom settings section to pxvInst.Settings? I can retrieve settings but can't get my own section added to save my custom preferences. I tried using pxvInst.Settings.Add() but always get an error that the parameter is incorrect, whether passing a parameter or...
by shaunh
Fri Jun 19, 2020 9:25 am
Forum: PDF-XChange Editor SDK
Topic: Insert IUIX_PropSheetPage into DlgAppPrefs
Replies: 12
Views: 2334

Re: Insert IUIX_PropSheetPage into DlgAppPrefs

Hi Alex,

Found the issue in my derived IUIX_PropSheetPage class that was preventing my dialog from closing.

public void OnPreEndDialog(IUIX_PropSheets pHost, bool bOK, out bool bBreak)

While testing I had bBreak = true, causing the break before closing the dialog.
by shaunh
Mon Jun 15, 2020 2:28 pm
Forum: PDF-XChange Editor SDK
Topic: Insert IUIX_PropSheetPage into DlgAppPrefs
Replies: 12
Views: 2334

Re: Insert IUIX_PropSheetPage into DlgAppPrefs

Hi Alex, I managed to get my custom dialog page inserted into the preferences dialog using the CreateNewUI method in my derived IUIX_PropSheetPage class. Thank you for your assistance there. I however lose functionality on the preferences dialog. Seems like the normal dialog events aren't being hand...
by shaunh
Thu Jun 11, 2020 12:30 pm
Forum: PDF-XChange Editor SDK
Topic: Insert IUIX_PropSheetPage into DlgAppPrefs
Replies: 12
Views: 2334

Re: Insert IUIX_PropSheetPage into DlgAppPrefs

Thank you for the feedback and code sample Alex. Will give this a go :D
by shaunh
Tue Jun 09, 2020 3:46 pm
Forum: PDF-XChange Editor SDK
Topic: Insert IUIX_PropSheetPage into DlgAppPrefs
Replies: 12
Views: 2334

Insert IUIX_PropSheetPage into DlgAppPrefs

Hi, I am trying to add my own page of preferences to the existing preferences dialog. Is this possible? So far I have been able to trap the beginPropDialog event when the dialog opens and get the IUIX_PropSheets interface. I can remove pages but have not been able to successfully insert a page. I tr...
by shaunh
Fri Jun 05, 2020 7:52 am
Forum: PDF-XChange Editor SDK
Topic: Add Signatures and Initial images to list
Replies: 6
Views: 1614

Re: Add Signatures and Initial images to list

Thank you for the feeback Alex.

Would it be possible to create a list control with images to place on my ribbon tab to achieve a similar look to the Signatures and Initials image list?
by shaunh
Thu Jun 04, 2020 9:04 am
Forum: PDF-XChange Editor SDK
Topic: Add Signatures and Initial images to list
Replies: 6
Views: 1614

Re: Add Signatures and Initial images to list

Hello shaunh, Here's how you can add them programmatically: private void AddSignatureWithTemplate(IPXV_Inst Inst, IPXV_Document Doc) { int nID = Inst.Str2ID("op.document.addDigitalSignature", false); IOperation Op = Inst.CreateOp(nID); ICabNode input = Op.Params.Root["Input"]; i...
by shaunh
Wed Jun 03, 2020 9:03 am
Forum: PDF-XChange Editor SDK
Topic: Add Signatures and Initial images to list
Replies: 6
Views: 1614

Re: Add Signatures and Initial images to list

Hi support, any feedback on my question? I added the tool to my custom tab leaving out the "manage" button which will not allow the user to add/remove signatures or initials as mentioned is my goal. image.png I still cannot find how to programmatically insert images to this list. After som...
by shaunh
Tue Jun 02, 2020 9:54 am
Forum: PDF-XChange Editor SDK
Topic: Add Signatures and Initial images to list
Replies: 6
Views: 1614

Add Signatures and Initial images to list

Is it possible to "inject" my own signature/initial images into the Signatures and Initial image selection list through code? We store our internal users signatures and initials in a database and they are retrieved through an API call when the user logs in. We want to use an image only bec...