FileMaker Custom Dialog Question

Discussion in 'Mac Programming' started by Bonch, Nov 15, 2010.

  1. macrumors 6502

    Bonch

    Joined:
    May 28, 2005
    Location:
    Lithuania
    #1
    I have a button that runs a script. When the button is pressed, I want a custom dialog box to come up asking if they really want to run the script, or if they want to cancel.

    How do I do this? Thank you!
     
  2. macrumors 6502

    Joined:
    Feb 1, 2009
    #2
    Start by at least letting us know which version of FileMaker you are running.

    If there's any more details you want to provide to help us, please do so.
     
  3. thread starter macrumors 6502

    Bonch

    Joined:
    May 28, 2005
    Location:
    Lithuania
    #3
    FM11. I did it back in FM8, I just can't remember how. Something to do with error capture in the script I think, but not sure.

    It's basically the same idea when you go to delete a record and a dialog pops up to confirm if you really want to.
     
  4. macrumors member

    Joined:
    May 22, 2005
    Location:
    London, UK
    #4
    Show Custom Dialog
    If [Get(LastMessageChoice) = 1]
    // Do something ..
    Else
    // Do something ..
    End If
     
  5. thread starter macrumors 6502

    Bonch

    Joined:
    May 28, 2005
    Location:
    Lithuania
    #5
    Worked. Thanks.
     
  6. macrumors 603

    Joined:
    Aug 9, 2009
    #6

Share This Page