LonnieJohnson
Programmer
I want to write code to change the backcolor of my buttons. I have already got the part that cycle's through the contols on the form and determines if if it's a command button. I can't figure out how to tell it the color.
I noticed that in the button's back color property there is a system, custom and web color tab. That have different values. For instance the web has values like MediumPurple but the Custom tab has values like 192, 192, 255. The system did not like me using the 192, 192, 255 in or out of quoatation marks.
Finally, my question. How do I assign a value to the backcolor of a button with code? Also, how do I choose if I want custom or web?
Thanks in advance.
ProDev, MS Access Applications
Visit me at ==>
May God bless you beyond your imagination!!!
I noticed that in the button's back color property there is a system, custom and web color tab. That have different values. For instance the web has values like MediumPurple but the Custom tab has values like 192, 192, 255. The system did not like me using the 192, 192, 255 in or out of quoatation marks.
Finally, my question. How do I assign a value to the backcolor of a button with code? Also, how do I choose if I want custom or web?
Thanks in advance.
ProDev, MS Access Applications
Visit me at ==>
May God bless you beyond your imagination!!!