Thank you ben, I'll work on that.

All the Best

Pierre

Ben Combee a �crit:
> 
> At 12:39 AM 6/11/2004, you wrote:
> >Hello,
> >
> >I have noticed that when I close a system dialog (like SelectDay or
> >SysKeyboardDialog), my non-editable fields lose their former values and
> >are filled with unexpected ascii characters.
> >
> >How could I lock these fields ?
> 
> You need to make sure that the strings to which those fields point (using
> FldSetTextPtr) remain valid for the life of your form.  You can't format a
> string into the program stack and then call FldSetTextPtr -- you need a
> string buffer that's going to be valid as long as the form is open.
> 
> -- 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/

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

Reply via email to