Page 1 of 1

Default value for Radiogroup

Posted: Sun Feb 13, 2022 9:00 pm
by serge_girard
Hello,

Is it possible to have a Radiogroup without initial value setting?

Example:
When I have an existing record I known gender: MALE or FEMALE. Radiogroup value will set to 1 if MALE and to 2 if FEMALE.

Now when I have a NEW record I want my Radiogroup set to NILL or 0 (gender unknown) and so my end-user will be forced to make a
choice M/F. This I have to program myself.

I now have a Radiogroup with 3 values M (1) /F (2) / X(3). Default value 3 (X) for NEW but end-users don't like gender X....

Serge

Re: Default value for Radiogroup

Posted: Mon Feb 14, 2022 2:27 am
by Claudio Ricardo
Hi... If you want it to start without any selected put Value Nil when defined control
and then you handle it with SetProperty...

Re: Default value for Radiogroup

Posted: Mon Feb 14, 2022 7:47 am
by serge_girard
Great, that's what I was looking for!

Serge