hartmut Posted July 16, 2007 Posted July 16, 2007 I have a bunch of buttons that are on a layout - but there are certain conditions ( one of the buttons) that I would need the user not to be able to activate the other buttons when one button is pressed. In other words if script 4 is activated by this buttons I would like to know if script 3, 5, 6, and 7 could somehow be rendered inactive temporarily. thanks Dave
mr_vodka Posted July 16, 2007 Posted July 16, 2007 If I understand your question correctly, you could store a global field or variable with the last script parameter. You can add this to the end of your scripts. Then in the beginning of your scripts for 3, 5, 6, and 7 you can check to see what the last variable was. If it wasnt script 4 then do the actions.
Søren Dyhr Posted July 16, 2007 Posted July 16, 2007 Another option is the visibility trick, that simply removes the buttons from the layout conditionally: http://www.databasepros.com/FMPro?-DB=resources.fp5&-lay=cgi&-format=list.html&-FIND=+&resource_id=DBPros000743 --sd
Recommended Posts
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