At 11:21 AM 4/27/2004, you wrote:
I found the problem. if I call CtlSetUsable and pass a form control and
false, my application fails in Palm OS 3.x and 4.x.  To fix the problem I
stopped calling CtlSetUsable.  I was diabling the form will I read records
from a pdb file.

Use FrmHideObject and FrmShowObject, instead of directly calling CtlSetUsable. It will make sure that the right thing happens for all object kinds.



-- Ben Combee, DTS technical lead, PalmSource, Inc. Read "Combee on Palm OS" at http://palmos.combee.net/


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

Reply via email to