> FormType *form;
> UInt16 index;
> 
> index=FrmGetObjectIndex(form,lblPaint);
> FrmHideObject(form, index);

i use FrmHideObject() on labels without a problem. for the record.
exactly the same code. you need to make sure that lblPaint is the
actual ID you declare within the resource file for the label.

most of the resources use AUTO id labelling.. beware :P

ie: .rcp

FORM ..
BEGIN
  LABEL "blah" ID MyFormBlahLabel ...
END

index = FrmGetObjectIndex(form, MyFormBlahLabel);
FrmHideObject(form, index);

works :)

---
Aaron Ardiri
[EMAIL PROTECTED]
http://www.mobilewizardry.com/members/aaron_ardiri.php [profile]

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to