Do you own a Quick PDF Library 7 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 8 today!

Quick PDF Library

Frequently Asked Question:

Return to FAQ Index

Pushbutton Action

Question

How can I set the action of a pushbutton with your DLL

i.e. I want to add a weblink to the pushbutton when it is pressed?

Answer

You can add an action to a pushbutton like this:

If o.QuickPDFGetFormFieldType(PDFHandle, index) = 2 Then
   o.QuickPDFSetFormFieldCaption(PDFHandle, index, "New Button Name")
   o.QuickPDFFormFieldWebLinkAction(PDFHandle, index, "D", "http://www.yahoo.com")
End If

© 2012 Debenu. All rights reserved. AboutBuyContactBlogNewsletterSupportFAQProduct UpdatesForum