TMessageBox.Show

From OpenEUO
Revision as of 08:39, 17 October 2011 by 204.236.253.94 (Talk)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
TMessageBox.Show(sCaption)

Pass this function a string to display it in the message box caption.
You can include /n to create new lines.

form = Obj.Create("TMessageBox")
form.Button = 3
form.Default = 2
form.Title = "Brian G's Tree Chopper"
form.Show("Path file not found!\nWould you like to make a new one right now?")