> From: Scott Herman
>
> When I use FrmCopyTitle() this is what I get...
>
> LabMan(LABMAN.RCP(v.1)) called SysFatalAlert with the message:
> "Form.c, Line:1728, Object not in form".
>

Before calling FrmCopyTitle(formP, newTitle), make sure that formP really
points to the form that you want to change the title of.  The current form
is not always the form you think.

E.g.,

formP = FrmGetActiveForm();
// formP may be meaningless if a popup window is open, so better to use:

formP = FrmGetFormPtr(YourFormID);
if (formP)
  FrmCopyTitle(formP, newTitle);        // newTitle must not be longer than the
original title


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

Reply via email to