Hi Adam This is the code I use to change a label text. Text is just a null terminated character array.
FormPtr frm = FrmGetActiveForm(); UInt16 myLabelObjectIndex = FrmGetObjectIndex(frm,LabelID); FrmHideObject(frm,myLabelObjectIndex); FrmCopyLabel(frm,LabelID,Text); FrmShowObject(frm,myLabelObjectIndex); -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ornstein, Adam Sent: Wednesday, October 13, 2004 2:29 PM To: Palm Developer Forum Subject: Dynamically rewriting a label Can anyone point me toward a function that will allow me to redefine a labels text? Thanks -- 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/
