TMessageBox.Button

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

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

You can set TMessageBox.Button to any of the values listed below.
The appropriate buttons will appear on your Message Box once you use the Show() command.

0 - OK
1 - OK/CANCEL
2 - ABORT/RETRY/IGNORE
3 - YES/NO/CANCEL
4 - YES/NO
5 - RETRY/CANCEL
6 - CANCEL/TRY AGAIN/CONTINUE

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