I would set them all to false first,
then do a case statement,
then case else is unknown as a 'catch-all'
-- Original Message ---
From: Bruce
To: gambas-user@lists.sourceforge.net
Sent: Mon, 20 Apr 2009 15:59:26 +1000
Subject: [Gambas-user] More null problems
> I
Perhaps "Male", "Female", "Unknown", "On Transit" and "Variable"? Ups...
excuse me, I can't resist it...
2009/4/20 Ron_1st
> On Monday 20 April 2009, Stephen Bungay wrote:
> >It is the nature of radio buttons to allow only one in a set to be
> > toggled on, If you really want to go that rout
On Monday 20 April 2009, Stephen Bungay wrote:
> It is the nature of radio buttons to allow only one in a set to be
> toggled on, If you really want to go that route then I would suggest
> that you use checkboxes instead of radio buttons, A better way (IMHO) is
> to place a third button on th
I agree with Stephen's third button option. I don't think check boxes
are right as you can't be both simultaneously (except maybe in some
speciality bars and clubs). Radio buttons are the right way to go.
You may be able to get the behaviour you're asking for if you delete and
recreate the control
It is the nature of radio buttons to allow only one in a set to be
toggled on, If you really want to go that route then I would suggest
that you use checkboxes instead of radio buttons, A better way (IMHO) is
to place a third button on the form labelled as "Unknown" and set that
one when the
I have a set of two radio buttons in a panel control (Male & Female), when a
new person object is loaded into the form I need to set the gender
appropriately. However, some persons' gender is not known, say for "Brown,
J" and I am trying unsuccessfully to set both radio buttons to reflect this