Radiobutton CheckChanged

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Jerry

    #1

    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


  • Jerry

    #2
    Re: Radiobutton CheckChanged

    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" <jerryleo@gmx.n etschrieb im Newsbeitrag
    news:eav5oh$ia4 $03$1@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
    >
    >

    Comment

    • eSolTec, Inc. 501(c)(3)

      #3
      Re: Radiobutton CheckChanged

      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" <jerryleo@gmx.n etschrieb im Newsbeitrag
      news:eav5oh$ia4 $03$1@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
      >
      >
      >

      Comment

      Working...