>So either my code is bad - or there is a better way of doing this From the reference manual:
"if you use CtlSetLabel, you must manage the string yourself. You must ensure that it persists for as long as it is being displayed (that is, for as long as the control is displayed or until you call CtlSetLabel with a new string), and you must free the string after it is no longer in use (typically after the form containing the control is freed)." You're putting the label in a stack-based variable. It disappears as soon as you exit the routine. Regards, Steve Mann -- Creative Digital Publishing Inc. 1315 Palm Street, San Luis Obispo, CA 93401-3117 ------------------------------------------- 805.784.9461 805.784.9462 (fax) [EMAIL PROTECTED] http://www.cdpubs.com -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
