PDA

View Full Version : FileMaker Custom Dialog Question




Bonch
Nov 15, 2010, 11:41 AM
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!



BertyBoy
Nov 15, 2010, 01:46 PM
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.

Bonch
Nov 15, 2010, 01:56 PM
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.

sebastijan
Nov 15, 2010, 05:58 PM
Show Custom Dialog
If [Get(LastMessageChoice) = 1]
// Do something ..
Else
// Do something ..
End If

Bonch
Nov 15, 2010, 06:18 PM
Worked. Thanks.

chown33
Nov 15, 2010, 07:03 PM
Obvious google search terms: filemaker custom dialog

Top hit:
http://fmhelp.filemaker.com/fmphelp_10/en/html/scripts_ref2.37.55.html

Just sayin'.