Did you initialize (the pointer variable) form? It doesn't show in the code you wrote down.
call form = FrmGetActiveForm() before your call to FrmGetObjectIndex good luck, Caspar -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Neil Fallon Sent: Tuesday, December 16, 2003 9:19 PM To: Palm Developer Forum Subject: object index Hi, I'm trying to hide a lablel and having no luck. The following is the code that I am using. FormType *form; UInt16 index; index=FrmGetObjectIndex(form,lblPaint); FrmHideObject(form, index); -- 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/
