"JSY" <[EMAIL PROTECTED]> a �crit dans le message de news: [EMAIL PROTECTED] > hi. that explains it very well. i've not been able to figure out the > reason to the checkbox problem for some time now. you just gave me a > revelation. thx a lot. > > having said that, what i initially did was to group the checkboxes as grp1 > and grp2 (only two checkboxes in the form). now that you have mentioned > the identity problem of the checkboxes, do you have suggestions to > overcome it? i have grp one of the checkboxes as grp0 and the other as > grp1 now. the first one can b checked and unchecked but i stil face the > same problem with the second box. how do i overcome this? > > regards, > joyce
If you want the checkboxs to be independent, place them all in group 0. 0 is a special group for independent checkboxs. Don't catch any event for the checkboxs, the OS will check/uncheck them automaticaly when the user hit them. Use CtlSetValue when you want to initialise it and CtlGetValue when you want to read its value If you want a radiobutton like behaviour, put them in a groupe other then 0. use FrmSetControlGroupSelection to initialise the groupe and CtlGetValue when you want to read its value. -- Regis St-Gelais www.laubrass.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
