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 - Radio Button Behavior
  FAQ FAQ  Forum Search   Register Register  Login Login

Radio Button Behavior

 Post Reply Post Reply
Author
Message
JohnT View Drop Down
Team Player
Team Player


Joined: 23 Oct 13
Location: United States
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote JohnT Quote  Post ReplyReply Direct Link To This Post Topic: Radio Button Behavior
    Posted: 23 Oct 13 at 5:07AM
I like the mutual exclusivity of the radio buttons.
However, once selected, they stay selected.

As an example, if I have three choices with none selected,
if I select choice one, and change my mind to select another
it works fine, but, if I want to reverse my selection to none,
it appears there is no backing out.

Thanks in advance for any help.

John
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: 23 Oct 13 at 7:43AM
Hi John,
 
the very first time the developer setting works.
After this - at runtime - there's no possibility to reset to startsetting.
I think this is normal behavior...
if you want to integrate your described functionality you could insert an additional checkbox or a button linked with some javascriptcode doing this job for you.
An easier way: A fourth choice with the text "nothing" ;-)
 
Cheers and welcome here,
Ingo
 
Cheers,
Ingo

Back to Top
JohnT View Drop Down
Team Player
Team Player


Joined: 23 Oct 13
Location: United States
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote JohnT Quote  Post ReplyReply Direct Link To This Post Posted: 23 Oct 13 at 3:40PM
Ingo,

Thanks very much.

Yes, I thought maybe it was just a limitation of the PDF radio button behavior, but thought I'd check to see if maybe a trick could be deployed.

I followed your suggestion and after iterating to the next record added a "None" radio button.
Works like a charm.

I'm now writing logic to check to see if any values within the group are checked. If not checked then the "None" radio button have its value set.

If I get something that works reasonably well and can be used by anyone else, I'll post the Delphi code excerpts since this must be a pretty common problem.

Thanks again.

John
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