>ThuNguyet Nguyen wrote in message <20683@palm-dev-forum>...
>>
>>Hi everyone,
>>
>>I have 3 check boxes and I group them together so user can 
>only check one
>at a time. Now, I don't know how to uncheck all 3 of them. 
>Before, when I
>didn't have them group together, they worked OK when I 
>check/uncheck them. I
>just had to make sure only 1 is checked at a time. Should I go 
>back to what
>I did before because when a bunch of buttons/check boxes are grouped
>together, one of them must be choosen?
>>What I am missing here, please tell me, please.
>>Thanks a lot.
>>
>>tnn

Try:
//Get your checkbox object pointer
CtlSetValue (*controlP, 0);
//Now, repeat for the other two controls to uncheck them all.
//The value 0 is for off, if you want to programmatically check one,
//change the value to 1

If you don't have them grouped together, then you CAN have more than
one checked, but when they're in a group, only one of them in that 
group can be checked.
-Rus

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to