Development Environment:
CW for windows (NT), Palm III

I posted this question several days ago but it has been ignored...anybody?

I have a CW-Constructor created form with several un-grouped (groupID=0),
initially-off checkboxes.
Under frmOpenEvent, I get pointers to these checkbox controls,
and use CtlSetValue(ctlPtr,1); to set to "on" certain controls, to have them
represent the state of some program variables.
When I click on a checkbox that is left "off", I can toggle it normally,
but the ones that the code turned on will not toggle off.
These turn off while the pen is down but come back on when the pen is
lifted.
HOWEVER: if I move the CtlSetValue call to a section that runs later, like
ctlSelectEvent(in response to a form button-push), these checkboxes behave
normally, and can be toggled on/off.

What is going on here?  Palm Docs say this is the way to set checkboxes.
Is there something else I should use to initialize controls like these?

Jim Lynes, Barcode Data Systems
[EMAIL PROTECTED]   PH: 440-808-8888 x18

Reply via email to