> I've got a FrmCustomAlert call that calls an alert with a single ^1 in it.
>
> It works fine except when the string passed to ^1 has a newline in it.
Now,
> normally this isn't the case, but Gremlins can put a lot of odd things in
> your app, so this is causing a Gremlins crash.
>
> I *THOUGHT* the appropriate thing to do in this situation is just have:
> FrmCustomAlert (TheAlert, TheString, NULL, NULL)
>
> Since there's no ^2 or ^3 in the alert. But I've tried " " in place of the
> NULLs as well and still get the error.
>
> If I make a function that strips newlines and use that on the string, all
> works, but some how I don't feel as if I should have to do that.
>
> Can someone offer advice?
No, but I can see *exactly* what is happening. The text field generated by
FrmCustomAlert clearly has the single line property set. So you are stuffed,
too.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/