Niles Lund wrote:

Good Day!

I'm new to Palm programming, and have been having trouble getting user
defined strings displayed in a custom alert form using the command

FrmCustomAlert(AlertID, "Custom text string", NULL, NULL);

The form pops up, but only displays the text that was originally assigned to
the form using the resource editor, and not the "Custom text string" that
was passed along as an argument. I'm using PODS and the resource editor that
comes with it.
I don't use PODS, but your problem sounds like that you ARE assigning text initially to the fields. In PilRC the definition for the alert looks something like this:

ALERT ID alertID_SoundWarning
warning
BEGIN
   TITLE    "Sound warning"
   MESSAGE "^1^2^3"
   BUTTONS    "Enable"
       "Cancel"
END

and the "^1^2^3" string corresponds to the 3 parameter that you pass to the custom alert.

Bob.

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

Reply via email to