digitalchaos Posted May 5, 2003 Posted May 5, 2003 Hello everyone i am looking for a way to have a dialog box or screen that users can choose to not see again after the first time they vew it either by check box or button. any help or ideas would be greatly appreciated thanks.
RussBaker Posted May 5, 2003 Posted May 5, 2003 Create a Global text field "g_ShowMe". Create 2 choice scripts (each assigned to buttons) Script 1 Name = Show Me Again Set Field [g_ShowMe, "Yes"] Go To Layout [your normal entry layout] Script 2 Name = Don't Show Me Again Set Field [g_ShowMe, "No"] Go To Layout [your normal entry layout] As part of your startup script, include: If [isEmpty(g_ShowMe)] . Set Field [g_ShowMe, "Yes"] End If If [g_ShowMe = "Yes"] . Go To Layout (your layout with the info you want to display - including your 2 choice buttons) Else . Go To Layout [your normal entry layout] End If
Pupiweb Posted May 6, 2003 Posted May 6, 2003 What Russ mentions is good but it will not work in a networked solution since it relies on global fields, and they'll be given the host value when opening the files again You might use a Users.fp5 file to store the user's choice or a field in a "central" Menu-like file in which to write some unique user identifier and let your scrip test for the presence of that value in the field and branch accordingly
digitalchaos Posted May 6, 2003 Author Posted May 6, 2003 Thank you all for the input i will try this solution and see if it works for me. Again thanks for your input everyone.
Recommended Posts
This topic is 7876 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