In expert 4 lesson 2 you go though color changes on the toggle buttons, but I'm useing access 2010 how do I go about it in 2010? I'm guessing by going to properties and "On Key Press" put in an expression. But what would that expression be? Time Index 17:22
Reply from Richard Rost:
I don't still have 2010 installed, so I can't check, but I don't believe that 2010 supports the color changes that 2013 does. It's a minor feature. In older versions of Access, you have to use a little VBA in the AfterUpdate event. I will cover this in the advanced lessons when we get to macros and programming. In 2003 and earlier, you can't change the background color of the button - only the text color. That's done with:
ButtonName.FontColor = 0
That will change the color to black, for example.
Sorry, only students may add comments.
Click here for more
information on how you can set up an account.
If you are a Visitor, go ahead and post your reply as a
new comment, and we'll move it here for you
once it's approved. Be sure to use the same name and email address.
This thread is now CLOSED. If you wish to comment, start a NEW discussion in
Access Expert 4.