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!
![]() |
Radio Button Behavior |
Post Reply ![]() |
Author | |
JohnT ![]() Team Player ![]() Joined: 23 Oct 13 Location: United States Status: Offline Points: 30 |
![]() ![]() ![]() ![]() ![]() 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
|
|
![]() |
|
Ingo ![]() Moderator Group ![]() ![]() Joined: 29 Oct 05 Status: Offline Points: 3530 |
![]() ![]() ![]() ![]() ![]() |
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 |
|
![]() |
|
JohnT ![]() Team Player ![]() Joined: 23 Oct 13 Location: United States Status: Offline Points: 30 |
![]() ![]() ![]() ![]() ![]() |
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
|
|
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store