From: "Charles Rezsonya" <[EMAIL PROTECTED]>
>
> FrmCustomAlert(TestAlert, "this is my test message", NULL, NULL);

Do you have all three parameters (^1, ^2, and ^3) in your alert?  When you
call FrmCustomAlert, don't pass in NULL if your alert uses ^1, ^2, and ^3.
For each unused parameter, pass in a string containing a single blank.

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's for registering, %s!\n\nYour code is %s", name,
code );
FrmCustomAlert( GeneralAlert, msg, NULL, NULL );

Note that, in this case, it is safe to pass in NULL because my GeneralAlert
only contains ^1.



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

Reply via email to