Returns a number corresponding to the button clicked in an alert message displayed by the Show Custom Dialog script step.
Get(LastMessageChoice)
None
number
FileMaker Pro 6.0 or earlier
Returns:
•1 for the first button (by default, labeled OK)
•2 for the second button (by default, labeled Cancel)
•3 for the third button
For an example script, see Show Custom Dialog script step.