Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

This topic is 7876 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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. grin.gif

Posted

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

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.