How to change the color and appearance of command buttons
I am a newbee so please consider me. There is an image on my MS access form.On clicking over that image the color of that particular part should change and some data should enter into the table. I want to use transparent command buttons to do that. These buttons should be flat in appearance and should have a different color so they dont exactly look like command buttons.I want to do that by using the FillBackColor and Special effect on the toolbar but those are disabled for command buttons.Do I have to set any property to enable them(like in Vb we have the Style property set to Graphical to manipulate with pictures)? Please help!
Re: How to change the color and appearance of command buttons
Welcome to the Forums.
It sounds like your not using a control that is best for the job. Why are you trying to change the image in
a command button? Its not possible to get the location of a click on a commandbutton. Why not use a
different control like a picturebox?
Re: How to change the color and appearance of command buttons
I already have an image over which I am placing a number of transparent command buttons. I dont need the location of the image, I just need to change the color of that particular part on click and get back to the original image if clicked again. My form is in MS Access and there is no picture box tool in that. Please help..
Re: How to change the color and appearance of command buttons
Sorry about that. You can use the image control. When the user click the image you can change the
picture. Then when they click it again you can change it back.
I'm not quite sure what your trying to do but if its change an image between clicks, what I just wrote would be the way.
Re: How to change the color and appearance of command buttons
If it's just colour backgrounds, perhaps labels would be best?
VB/VBA (excel forms) has click events for labels, then you can reset the colour background, add a single thickness and use the 3d options via code...
Not sure that you can change just a little bit of an image, depends on the image itself.
Perhaps if it is not completely user defined, you could have lots of little images and when you click on one it replaces it with the opposite colour/picture...?