hartmut 0 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 Quote Share this post Link to post Share on other sites
mr_vodka 70 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. Quote Share this post Link to post Share on other sites
Søren Dyhr 2 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 Quote Share this post Link to post Share on other sites