Difference between revisions of "TMessageBox.Button"

From OpenEUO
Jump to: navigation, search
Line 12: Line 12:
 
<br>
 
<br>
  
form = Obj.Create("TMessageBox")<br>
+
<pre>form = Obj.Create("TMessageBox")
form.Button = 4<br>
+
form.Button = 4
form.Title = "Brian G's Tree Chopper"<br>
+
form.Title = "Brian G's Tree Chopper"
form.Show("Path file not found!\nWould you like to make a new one right now?")<br>
+
form.Show("Path file not found!\nWould you like to make a new one right now?")</pre>

Revision as of 07:28, 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?")