Print Page | Close Window

getting RadioButton state & keywords

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=295
Printed Date: 10 May 24 at 2:59AM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: getting RadioButton state & keywords
Posted By: Kapil
Subject: getting RadioButton state & keywords
Date Posted: 30 Jan 06 at 11:49PM

Hi All,

I  have created a 2 radio buttons, and i want to set one of the radiobutton value to true ie select one option by default.

How can i do this...?

here is what i have done :

qp->DrawTextBox(30, 65, 100, 5, "ii. Radio/Option Button", 0);

FieldIndex = qp->NewFormField("Choice", 4);

SubIndex = qp->AddFormFieldSub(FieldIndex, "Choice 1");

qp->DrawTextBox(36, 70, 55, 5, "Choice 1", 0);

qp->SetFormFieldBounds(SubIndex, 30, 70, 60, 5);

qp->SetFormFieldCheckStyle(SubIndex, 4, 0);

SubIndex = qp->AddFormFieldSub(FieldIndex, "Choice 2");

qp->DrawTextBox(36, 80, 55, 5, "Choice 2", 0);

qp->SetFormFieldBounds(SubIndex, 30, 80, 60, 5);

qp->SetFormFieldCheckStyle(SubIndex, 4, 0);

qp->SetFormFieldValue(SubIndex, "Yes");

And one thing more If any one knows some more keywords like "Off", "Yes" etc used in Form fields(I just know these two :D) plz let me know...:) 

Regards,

Kapil...




Replies:
Posted By: Kapil
Date Posted: 31 Jan 06 at 12:52AM

I Got that......

just let me know if there any more keywords...

Regards,

Kapil..




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