JSRunnels Posted December 23, 2004 Posted December 23, 2004 When I create a custom dialog box, I have the choice to label 3 buttons. The default is "cancel." How do I tell the script to do something different based on which button the user selects?
RalphL Posted December 24, 2004 Posted December 24, 2004 In your script use an If [Get(LastMessageChoice) = 1] do the button 1 stuff ElseIf [Get(LastMessageChoice) = 2] do the button 2 stuff Else do the button 3 stuff End If One think to remember if you want to enter data via the custom dialog box only, button 1 will pass the data on.
JSRunnels Posted December 24, 2004 Author Posted December 24, 2004 Thanks! I have the gigantic FMP7 Bible book and just couldn't seem to find it. I have been using FMP now for 9 days. I have no prior database experience, so thanks for you patience!
Recommended Posts
This topic is 7277 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now