473,323 Members | 1,574 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,323 software developers and data experts.

Radiobutton CheckChanged

Hi,

I just found out that when I check a raidobutton TWO things happen. The
CheckChange event is fired for unchecking the checked button and another is
fired for the new one to become checked. However I don't want the event to
fire for unchecking. I didn't find a Checked event. I tried Click but that
won't fire. And I can't use LostFocus or GotFocus. What can I do?
Thanks,

Jerry
Aug 4 '06 #1
2 3538
Sorry,

I just found out that that was a mistake. Click does work. But it is not
what I want becouse when I tab through the inputs, every time I hit the
Opt_soanso, it fires as well and deletes my inputs. So I need to fire only
when the new button is selected and not the old one is unselected.

Jerry

"Jerry" <je******@gmx.netschrieb im Newsbeitrag
news:ea*************@news.t-online.com...
Hi,

I just found out that when I check a raidobutton TWO things happen. The
CheckChange event is fired for unchecking the checked button and another
is fired for the new one to become checked. However I don't want the event
to fire for unchecking. I didn't find a Checked event. I tried Click but
that won't fire. And I can't use LostFocus or GotFocus. What can I do?
Thanks,

Jerry


Aug 4 '06 #2
Jerry,

Check and make sure the radio button is NOT in "on change" and is in the "on
click" event. On change will fire the even when it's clicked or when another
selection is made since state is changing.
--
Michael Bragg, President
eSolTec, Inc.
a 501(C)(3) organization
MS Authorized MAR
looking for used laptops for developmentally disabled.
"Jerry" wrote:
Sorry,

I just found out that that was a mistake. Click does work. But it is not
what I want becouse when I tab through the inputs, every time I hit the
Opt_soanso, it fires as well and deletes my inputs. So I need to fire only
when the new button is selected and not the old one is unselected.

Jerry

"Jerry" <je******@gmx.netschrieb im Newsbeitrag
news:ea*************@news.t-online.com...
Hi,

I just found out that when I check a raidobutton TWO things happen. The
CheckChange event is fired for unchecking the checked button and another
is fired for the new one to become checked. However I don't want the event
to fire for unchecking. I didn't find a Checked event. I tried Click but
that won't fire. And I can't use LostFocus or GotFocus. What can I do?
Thanks,

Jerry


Aug 4 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: VK | last post by:
Hi! What I'm missing in following code? Cannot get the values of radiobuttons. Starting only one class (GetVariant), it works. When I put two classes together, it doesn't. Regards, VK from...
11
by: William Gill | last post by:
I am placing radiobuttons in a 4 X 4 matrix (using loops) and keep references to them in a 2 dimensional list ( rBtns ). It works fine, and I can even make it so only one button per column can be...
3
by: sofie | last post by:
Hello all, I use the following javascript function in a html document to set the level of one of eight available radiobuttons. The line that's commented out works fine under IE, but I need to...
3
by: dave | last post by:
I have half a dozen web form radio buttons on a web form. Each of them is set to postback=true. However, if for instance radiobutton1 is already selected and the user selects it again, it performs...
8
by: Agnes | last post by:
I create an array to store the radiobutton list. If the user click the 3rd buttons, I should store the value 2 into the table fields, My method is check each radio button whether is checked or...
6
by: Radiobutton via DotNetMonster.com | last post by:
i need help with radiobuttons. i am useing 1button and 2 radiobuttons i am trying to make it so when u select a radiobutton and hit button1 it will clear radiobuttons 1 and 2. -- Message...
4
by: Igor | last post by:
RadioButton have property Checked (true or false). If I make RadioButtons with code, without drawing by mouse than I have problems. I write like this: Dim rb(0 To 2) As RadioButton Dim n As...
2
by: =?Utf-8?B?cm9kY2hhcg==?= | last post by:
hey all, i'm trying to abstract some code from my current code-behind into a user control. There's a CheckChanged event from a radiobuttonlist and i was wondering if i could expose that from the...
8
by: =?Utf-8?B?UmljaA==?= | last post by:
If you enclose a group of radiobuttons (option buttons in MS Access) in an option group control (a frame control) in Access -- the frame control will return the index of the option button that is...
0
by: Emma Middlebrook | last post by:
Hi there, I'm having problems in an ASP.NET page that is dynamically creating and displaying radio buttons. I have setup a checkchanged event and specified AutoPostBack to true. When the page...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.