Subject Re: radio button
From Mustansir <mustan31@hotmail.com>
Date Mon, 13 Jul 2020 07:57:00 -0400
Newsgroups dbase.getting-started

Dear Andy

Even I thought of changing object with the condition that I wish to have.

Thank you

Best Regards
Mustansir



Andy Taylor Wrote:

> Mustansir,
>
> Well, I learned something today; radiobuttons are difficult to control using a program.
> So I gave up and used checkboxes instead which are much more well behaved and you can code-in the \"only one can be true\" behaviour of the radiobutton.  
> Please see the attached form which does what I think you want... reverses the settings after the user changes his mind.
>
> Hope that helps,
> Andy
>
> > Dear Andy
> >
> > Thank you. Although the issue of Onchange event helped. The issue of retaining status needs that onchange event should not occur because when it does the set value of radiobuttons changes by all means. So now problem is how to reverse
> >
> > Best Regards
> > Mustansir
> >
> >  
> >
> > Andy Taylor Wrote:
> >
> > > Mustansir,
> > >
> > > Hopefully my reply to your msgbox thread earlier will help with this.
> > >
> > > Andy
> > >
> > > > Dear All
> > > >
> > > > I am using radio buttons where on selection the current data needs to be cleared in the grid. On  selecting I put msgbox for confirmation. If the user says \"NO\" then I need to restore to original selection. Since on selecting,  the ongotfocus event of object being selected executes, I wonder how we capture the before selection state and use it to restore for \"NO\" option of user
> > > >
> > > > Can anybody help me on this.
> > > >
> > > > Best Regards
> > > > Mustansir
> > >
> >
>
>