Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!

Debenu Quick PDF Library - PDF SDK Community Forum Homepage
Forum Home Forum Home > For Users of the Library > I need help - I can help
  New Posts New Posts RSS Feed - Check CaheckBox Field from delphi
  FAQ FAQ  Forum Search   Register Register  Login Login

Check CaheckBox Field from delphi

 Post Reply Post Reply
Author
Message
ChaimG View Drop Down
Beginner
Beginner


Joined: 27 Oct 09
Location: Israel
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote ChaimG Quote  Post ReplyReply Direct Link To This Post Topic: Check CaheckBox Field from delphi
    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
Back to Top
ChaimG View Drop Down
Beginner
Beginner


Joined: 27 Oct 09
Location: Israel
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote ChaimG Quote  Post ReplyReply Direct Link To This Post Posted: 27 Oct 09 at 11:52AM
OK. Thanks, I founded the answer myself.
QuickPDF0716.SetFormFieldValueByTitle('fieldname','Yes') to mark Checkbox
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3530
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post 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


Edited by Ingo - 27 Oct 09 at 11:56AM
Back to Top
ChaimG View Drop Down
Beginner
Beginner


Joined: 27 Oct 09
Location: Israel
Status: Offline
Points: 3
Post Options Post Options   Thanks (0) Thanks(0)   Quote ChaimG Quote  Post ReplyReply Direct Link To This Post Posted: 27 Oct 09 at 12:00PM
Thanks. I founded just to set the value to "Yes" (case sensitive) is enouph.
Thanks anyway.
ChaimG
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 11.01
Copyright ©2001-2014 Web Wiz Ltd.

Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. AboutContactBlogSupportOnline Store