05-11-2024, 07:50 AM
(This post was last modified: 05-11-2024, 07:51 AM by ahenry3068.)
You can make it return a 0 or 1 and get Yes / No buttons with the following syntax.
KillIt% = _MessageBox("FILE EXISTS", Z_File$ + " Exists\nOverwrite?", "yesno", "question", 0)
If KillIt% = 1 Then
Kill (Z_File$)
Else
Z_File$ = _InputBox$("NEW FILE NAME", "Enter ZCM File Name", Z_File$)
If Z_File$ = "" Then System
GoTo StartZWrite
End If
I too would like the option for more buttons. But you can do a lot with just a Yes/No option.
KillIt% = _MessageBox("FILE EXISTS", Z_File$ + " Exists\nOverwrite?", "yesno", "question", 0)
If KillIt% = 1 Then
Kill (Z_File$)
Else
Z_File$ = _InputBox$("NEW FILE NAME", "Enter ZCM File Name", Z_File$)
If Z_File$ = "" Then System
GoTo StartZWrite
End If
I too would like the option for more buttons. But you can do a lot with just a Yes/No option.