"Keyur Patwa" <[EMAIL PROTECTED]> a �crit dans le message de
news:[EMAIL PROTECTED]
> Hi Ben,
>
> Thanks for ur reply!
>
> As u said, it will allow to select only one of the checkboxes to be
> selected at a time and that's what is reqquirement of my application.
>
> What I am trying to do is, the first time I am providing users with some
> default selection. The users are allowed to change the selection using
> the pen. Once the user has canged the selection, when the next time I am
> loading the same form, I want to retain the modified selection and
> accordingly show a checkbox selected.
>
> Following is the code I am using to set the control value.
>
> if (OnClickFlag)
> {
> UInt16 indx,val;
> indx =  FrmGetObjectIndex(frmP,OnClick);
> FrmSetControlValue(frmP,indx,1);
> }
>
> The main problem is, I have 3 checkboxes in the same group. For the
> first two its working fine but for the third declared chekcbox, it
> doesn't allow me to set the value using the above code as if the control
> doesn't exist at all.
>
> Try to help,
> Thanks,
> Keyur Patwa
>

Use FrmSetControlGroupSelection

-- 
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/

Reply via email to