"Paul Nevai" wrote:

> Make an alert with "^1^2^3" in it and then do this:
> FrmCustomAlert (MyGenericAlert, "a", "", "");

This issue has previously been discussed.  The solution is to pass strings
containing a single blank, rather than 0-length strings for the unused
parameters.

Another solution (the one I personally prefer, but others may disagree) is
to only use one replaceable string (^1) in the alert form and to use
StrPrintF to build the string.  This has the advantage of allowing any
number of string replacements.  For example:

StrPrintF( msg, "Thank you for registering, %s!\n\nYour code is %s", name,
code );
FrmCustomAlert( GeneralAlert, msg, NULL, NULL );



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palm.com/devzone/mailinglists.html

Reply via email to