From: "S Boedecker" <[EMAIL PROTECTED]> > On 4.1 and 5.0 debug ROMs, I'm trying to change the label for a label on a > form using CtlSetLabel. This works fine on a release ROM, but a debug ROM > gives me a "Not a control object" error. > Hmm, those debug ROMs have some useful code in them. My understanding is that you should be using FrmCopyLabel, making sure that the pre-defined text in the label will fit your replacement text.
In many cases it's more robust to use a Field with editable off or manually draw the text using WinDrawChars and a FormDraw function called from an frmUpdateEvent handler. This has less chance of biting you when you alter the run-time text without extending the label's text in the resource file. Chris Tutty -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
