[Gambas-user] reset radiobuttons

Neil Fallon nfallo at ...734...
Sun Mar 6 03:36:12 CET 2005


On Sat, 2005-03-05 at 20:25 -0600, Lance Beck wrote:
> Haven't tried this but how about a RadioButton5 with the Visible property
> set to False?
> Lance
> 
> 
> > -----Original Message-----
> > From: gambas-user-admin at lists.sourceforge.net 
> > [mailto:gambas-user-admin at lists.sourceforge.net] On Behalf Of 
> > Bodard Fabien
> > Sent: Saturday, March 05, 2005 6:20 PM
> > To: gambas-user at lists.sourceforge.net
> > Subject: Re: [Gambas-user] reset radiobuttons
> > 
> > Le dimanche 6 Mars 2005 01:03, Neil Fallon a écrit :
> > > Hi,
> > >
> > > I have a section of code that I was hoping would reset the radio 
> > > buttons in my app to nothing selected but it doesn't seem to work.  
> > > The code is as follows.
> > >
> > > RadioButton1.Value = FALSE
> > > RadioButton2.Value = FALSE
> > > RadioButton3.Value = FALSE
> > > RadioButton4.Value = FALSE
> > >
> > > I have also tried refresh and that doesn't work either.  
> > Coming from a 
> > > VB background I'm sure I'm just not doing something correctly.
> > >
> > > Neil
> > 
> > in fact an option is always at least one of the possibility...
> > 
> > Fabien
> > 
Hi Lance,

That's what I ended up doing.  I created a fifth button, made it hidden
and disabled, set the value to true when the database increments or
decrements.  Then when the user selects a button it works fine.

Neil






More information about the User mailing list