Difference between revisions of "TMessageBox.Button"
From OpenEUO
(Created page with "Set this to a number to choose options for the message box: 0 - OK 1 - OK/CANCEL 2 - ABORT/RETRY/IGNORE 3 - YES/NO/CANCEL 4 - YES/NO 5 - RETRY/CANCEL 6 - CANCEL/TRY AGAIN/CONTIN...") |
|||
Line 1: | Line 1: | ||
Set this to a number to choose options for the message box: | Set this to a number to choose options for the message box: | ||
− | 0 - OK | + | ---- |
− | 1 - OK/CANCEL | + | |
− | 2 - ABORT/RETRY/IGNORE | + | 0 - OK<br> |
− | 3 - YES/NO/CANCEL | + | 1 - OK/CANCEL<br> |
− | 4 - YES/NO | + | 2 - ABORT/RETRY/IGNORE<br> |
− | 5 - RETRY/CANCEL | + | 3 - YES/NO/CANCEL<br> |
− | 6 - CANCEL/TRY AGAIN/CONTINUE | + | 4 - YES/NO<br> |
+ | 5 - RETRY/CANCEL<br> | ||
+ | 6 - CANCEL/TRY AGAIN/CONTINUE<br> | ||
− | |||
form = Obj.Create("TMessageBox") | form = Obj.Create("TMessageBox") | ||
form.Button = 4 | form.Button = 4 | ||
form.Title = "Brian G's Tree Chopper" | form.Title = "Brian G's Tree Chopper" | ||
form.Show("Path file not found!\nWould you like to make a new one right now?") | form.Show("Path file not found!\nWould you like to make a new one right now?") | ||
− |
Revision as of 08:23, 17 October 2011
Set this to a number to choose options for the message box:
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?")