Print Page | Close Window

Unable to get RadioButton group left,width,height

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=3339
Printed Date: 21 Sep 24 at 4:22AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Unable to get RadioButton group left,width,height
Posted By: Orfelinda
Subject: Unable to get RadioButton group left,width,height
Date 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...



Replies:
Posted By: Ingo
Date 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



Posted By: Orfelinda
Date 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. 



Posted By: Ingo
Date 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.



-------------
Cheers,
Ingo



Posted By: CraigK
Date 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


Posted By: Ingo
Date 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




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