Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Add buttons to _MESSAGEBOX function?
#2
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.
Reply


Messages In This Thread
RE: Add buttons to _MESSAGEBOX function? - by ahenry3068 - 05-11-2024, 07:50 AM



Users browsing this thread: 1 Guest(s)