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 - How to get radiobutton bounds?
  FAQ FAQ  Forum Search   Register Register  Login Login

How to get radiobutton bounds?

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


Joined: 09 Oct 14
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote alexdmatveev Quote  Post ReplyReply Direct Link To This Post Topic: How to get radiobutton bounds?
    Posted: 09 Jun 15 at 4:36PM
Hello,

Delphi library 11.15, win32, xe7

I have a task to render some controls from PDF onto my form.

I have some radio groups in the PDF.

Very pseudo code:
for index := 1 to FormFieldCount do
begin 
 if FDebenu.GetFormFieldKidCount(index) <> 0 then
 begin
  for j := 2 to FDebenu.GetFormFieldSubCount(index) do
   begin
    radio := TRadioButton.Create(panel);
    radio.Left := ?????
    radio.Right := ????
    radio.Checked := ????
    radio.GroupName := index;
   end;
 end;
end;

Pls show me the way to fill ???-marked fields.

Thanks a lot!
Back to Top
alexdmatveev View Drop Down
Beginner
Beginner


Joined: 09 Oct 14
Status: Offline
Points: 12
Post Options Post Options   Thanks (0) Thanks(0)   Quote alexdmatveev Quote  Post ReplyReply Direct Link To This Post Posted: 11 Jun 15 at 3:07PM
Will ask using other words.

for index := 1 to FormFieldCount do
begin 
 if FDebenu.GetFormFieldType(index) = 4 then //radio
 begin
if FDebenu.GetFormFieldKidCount(index) = 0 then //simple radio inside group
 begin
//how can I get here information about the radio group?
//I need current group value and name.
   end;
 end;
end;


Thanks
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