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/
