Print Page | Close Window

Check CaheckBox Field from delphi

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: I need help - I can help
Forum Description: Problems and solutions while programming with the Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=1260
Printed Date: 16 Dec 25 at 7:01AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Check CaheckBox Field from delphi
Posted By: ChaimG
Subject: Check CaheckBox Field from delphi
Date Posted: 27 Oct 09 at 10:39AM

Hellow to everybody. I am new to QuickPDF. Does anybody know how can i mark Checkbox field as "Chacked" from my code?

Thanks



Replies:
Posted By: ChaimG
Date Posted: 27 Oct 09 at 11:52AM
OK. Thanks, I founded the answer myself.
QuickPDF0716.SetFormFieldValueByTitle('fieldname','Yes') to mark Checkbox


Posted By: Ingo
Date Posted: 27 Oct 09 at 11:55AM
Hi!

The function you need is "SetFormFieldValue".
First you have to check the whole document to get the sequence of formfield.
After this (perhaps in a loop) you can call the fields by index using SetFormFieldValue and at last you should use "SetNeedAppearanceStream" to make the new changes visible.

Please have a look in the general section. I've made a thread with important links for beginners with QuickPDF: http://www.quickpdf.org/forum/quickpdf-the-first-steps_topic1242.html

Cheers and welcome here,
Ingo


Posted By: ChaimG
Date Posted: 27 Oct 09 at 12:00PM
Thanks. I founded just to set the value to "Yes" (case sensitive) is enouph.
Thanks anyway.
ChaimG



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk