Newbies JMickey Posted February 10, 2008 Newbies Posted February 10, 2008 Is there any way to change the background color of a button when it is selected.
LaRetta Posted February 10, 2008 Posted February 10, 2008 (edited) Yes. You can use conditional formatting and change the color of the button depending upon what your script will do - just about any change can be used in the conditional format boolean test. We would need more information to give you a specific answer to a specific question but here's a couple of examples: 1) Your script which fires when you press the button might set a date field called PrintDate. You can test for that date and your conditional format would look like: Formula is: PrintDate 2) You can use a global variable instead of a field value if the button should only stay colored until it is changed again OR until close of the client session. Within your script, add the step Set Variable [ $$buttonHilite ; 1 ] then your conditional format would be: Formula is: $$buttonHilite Combinations are endless and quite fun (including but not limited to using script parameters attached to the buttons themselves). LaRetta Edited February 10, 2008 by Guest Added sentence
Recommended Posts
This topic is 6131 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