On October 22, 2004 11:33 am, Carl Gross wrote:
> How would I add text to an alert dynamically?

Build an alert resource with the title, buttons, and icon of your choice, and 
the text "^1" (without quotes).  You can use ^1, ^2, and ^3 to represent the 
second, third, and fourth argument to FrmCustomAlert.

For example:
Title: Are you sure?
Buttons: "Yes", "No", "Yes to All"
Text: "^1 already exists in ^2, are you sure you wish to ^3 it?"

FrmCustomAlert(kMyCustomAlert, "AddressDB", "RAM", "overwrite");

http://www.palmos.com/dev/support/docs/palmos/Form.html#997090

-- 
Matthew Bevan, Margin Software
 - Re-inventing the wheel, every time.

Fourth Law of Thermodynamics:
        If the probability of success is not almost one, it is damn near zero.
                -- David Ellis

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

Reply via email to