Script and Buttons within a custom message

General support questions.
PostPosted: Thu Jun 30, 2005 8:49 am
I would like to display a custom message that allows the user to delete a portal row. I made a script to display a custom message but the buttons in the message do nothing. I understand I need some script that indicates IF choose button one (ok/delete) Continue Script and IF choose button two (cancel) Exit Script. How do I define these buttons in FMP 7
Posts: 46
Joined: Thu Aug 19, 2004 6:33 pm
Location: Minneapolis, MN
PostPosted: Thu Jun 30, 2005 1:33 pm
Pretty easy:

...
Custom Dialog [...]
If [ get(lastmessagechoice) = 2 ]
Exit Script
End If
...

Just make sure the If[] is immediately after the Custom Dialog, or store the last message choice in a global if you need to do other things first.
PostPosted: Thu Jul 07, 2005 1:29 pm
You were right on!

Return to General Support

Who is online

Users browsing this forum: No registered users and 2 guests

cron
(855) SEEDCODE
[email protected]
Follow us: