Changing Buttons

  • Thread starter Thread starter Graham Payton
  • Start date Start date
G

Graham Payton

Hi


I want to use some of my own buttons as opposed to the standard ones with
access. Just some little icons I have drawn really. Is there a way I can
do this?

Also, can I change the colour of buttons so they are not the boring grey? I
need two buttons with the telephone icon on them. On to dial, which I would
like to be green, and one to hang up, which I would like to be red.


Thanks in advance


Graham
 
Hi:

There are two ways to do this --

1. Use the Image control -- then insert a Image and wire code on the OnClick
event. Problem is this is not press (click effect of button is not there).

2. Use the Button control and insert a Picture (use the Picture property)
and write code on OnClick event. This gives the click effect.

Regards,

Naresh Nichani
Microsoft Access MVP
 
Hi Naresh


Thanks for that.

Is there any way I can get the phone image that access uses already?

It would be easier if I could just change the colour of the buttons from
grey to another colour though really. Any ideas on this?

Many Thanks


Graham
 
Access has nothing built-in to allow for changes in the command button
backcolor. There are some third-party tools that may help:

A shareware version of Button Painter for MS Access is available at
this web site: http://www.peterssoftware.com/bp.htm

Some simple colored button examples that can be copied into your
application are available at: http://www.peterssoftware.com/clrbtn.htm

Stephen Lebans has an example database that shows how to set a command
button back color and more: http://www.lebans.com/cmdbutton.htm

There are nice "Color Command Buttons" downloads at this site:
http://www.candace-tripp.com/access_downloads.htm

Hope this helps,
 
Back
Top