hi ... thx for replying. can i ask regarding the codes u sent me? is this what u mean? _ option1: _____________________ case MainChickenBox: frmP = FrmGetActiveForm(); UInt16 wControlIndex1 = FrmGetObjectIndex( frmP, MainChickenBox ); Int16 wValue1 = FrmGetControlValue( frmP, wControlIndex1 ); FrmSetControlValue( frmP, wControlIndex1, !wValue1 ); ControlType *ctl1; ctl1 = (ControlPtr)FrmGetObjectPtr(frmP,FrmGetObjectIndex(frmP,MainChickenBox)); chickenBoolean = (Boolean)CtlGetValue(ctl1); handled1 =true; break; ________________ option2: _______________________ case MainChickenBox: frmP = FrmGetActiveForm(); UInt16 wControlIndex1 = FrmGetObjectIndex( frmP, MainChickenBox ); Int16 wValue1 = FrmGetControlValue( frmP, wControlIndex1 ); FrmSetControlValue( frmP, wControlIndex1, !wValue1 );
handled1 =true; break; ___________________ if i write the above (both option1 and option2), i am unable to check and uncheck the checkboxes. how should i go about it? did i misunderstand something? sorry. thx ... rgds, joyce _____________ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
