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 - Unable to get RadioButton group left,width,height
  FAQ FAQ  Forum Search   Register Register  Login Login

Unable to get RadioButton group left,width,height

 Post Reply Post Reply
Author
Message
Orfelinda View Drop Down
Beginner
Beginner
Avatar

Joined: 21 Mar 16
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Orfelinda Quote  Post ReplyReply Direct Link To This Post Topic: Unable to get RadioButton group left,width,height
    Posted: 09 Jun 16 at 11:37AM
I am working on reading form field radio group button left, height, width from an existing PDF in Delphi Application.
Each radio button that belongs to the group is a child or sub-radio button.

I am able to get the Name of the sub-radio button from a PDF by using the given code below:

if QP.GetFormFieldKidCount(i) <> 0 then
 for j := 2 to QP.GetFormFieldSubCount(i) do
 begin
    s := QP.GetFormFieldSubTempIndex(i, j);
    WriteLn(QP.GetFormFieldSubName(i, j));
end;

When I try to get the left, width and height for the radio button I get "0" whereas Top values seems to be fine.
QP.GetFormFieldBound(i, 0) // Use to get the left boundary of a form field.

Question: Why I am getting 0 for left, width and Height for the radio button group? any specific method call i need to make ?
Just a side note : When I try to get the left , width, top and height for a single radio button, I get the correct values.
Please Help...
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 09 Jun 16 at 9:20PM
Hi Linda,

i've no experiences with your issue but i've tried the advanced search (here top, right).
I've sorted the links top down as they could be useful for you:
http://www.quickpdf.org/forum/forum_posts.asp?TID=1884&KW=radio+button+group&PID=8080&title=radiobutton-how#8080
http://www.quickpdf.org/forum/forum_posts.asp?TID=3128&KW=radio+button+group&PID=12530&title=how-to-get-radiobutton-bounds#12530
http://www.quickpdf.org/forum/forum_posts.asp?TID=2337&KW=radio+button+group&PID=9890&title=create-fill-checkboxes-and-radiobuttons-in-code#9890
http://www.quickpdf.org/forum/forum_posts.asp?TID=2767&KW=radio+button+group&PID=11295&title=radio-button-behavior#11295

Cheers and welcome here,
Ingo

Cheers,
Ingo

Back to Top
Orfelinda View Drop Down
Beginner
Beginner
Avatar

Joined: 21 Mar 16
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Orfelinda Quote  Post ReplyReply Direct Link To This Post Posted: 10 Jun 16 at 5:35AM
Hi Ingo,
Thanks for your reply, however:

link 1: Does not provide any information on width, height and left values for a radio group button.

link2: Does not give a solution to my question.

link3: It speaks about saving/ creating a radio button rather then reading radio group button boundaries.

link4: Does not give a solution to my question.

Anyways thanks for taking out your time. 

I would really appreciate  if you could provide me any solution to the above posted issue, I am thinking that this is a bug in library as I am able to read the boundaries of a single radio button but not in the case of radio group button.

Awaiting for your kind reply. 

Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 12 Jun 16 at 5:15PM
Hi Linda,

i think you doesn't know where you are here ;-)
Should i take my rare time to develope something for you?
This is the user-user-forum of the library here.
If a user had the same prob and a solution and if he's reading here then... perhaps he'll post a solution.
If you think that you've found an error then you should post it on the official pages from Debenu.



Edited by Ingo - 12 Jun 16 at 5:16PM
Cheers,
Ingo

Back to Top
CraigK View Drop Down
Beginner
Beginner


Joined: 26 Aug 16
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote CraigK Quote  Post ReplyReply Direct Link To This Post Posted: 31 Aug 16 at 9:20PM
Hi Orfelinda,

I am running into the same issue you were/are having. I am trying to access the bounds of individual radio buttons but so far have been unsuccessful.

I saw your post and figured I'd see if you happened to have found a solution yet. If anyone else is reading this and has found a solution please let me know.

I've looked through Debenu's sample code and all of their online references but haven't had any luck.

Thanks
Back to Top
Ingo View Drop Down
Moderator Group
Moderator Group
Avatar

Joined: 29 Oct 05
Status: Offline
Points: 3524
Post Options Post Options   Thanks (0) Thanks(0)   Quote Ingo Quote  Post ReplyReply Direct Link To This Post Posted: 27 Nov 16 at 6:01PM
Hi Orfelinda,

now i've the same issue by myself ;-)
This thread will show you how to get these values:
http://www.quickpdf.org/forum/saving-choice-of-radiobuttons_topic1257.html

Cheers,
Ingo

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