PDA

View Full Version : Button/Label Help



abnrange
10-15-2009, 09:05 PM
Hello all,

Is it possible that on button check, it will change the color of the label to red and when unchecked the label will return to normal color state of blue.

I have some code that works when checked but not unchecked.

Is there away to make this work if you have 25 buttons without coding each button.

See attached sample!

Thanks

longedge
10-16-2009, 01:48 AM
If you set the button state colours you can then change the button state programmatically.

longedge
10-16-2009, 02:26 AM
... oh and if it's appropriate just set the button type to "Toggle" which will do this for you automatically.

longedge
10-16-2009, 03:24 AM
:rolleyes Didn't read your post properly. This is how I would do it -

abnrange
10-16-2009, 07:44 AM
That works great! Thanks for your time and help!