Solved

Pictures on buttons

Posted on 2001-06-26
3
207 Views
Last Modified: 2010-05-02
Hello!

My name is Assaf Lasry and I have a small question.
I have a button on my form and I want to display
a picture on that button. How can you add pictures or graphics on a button face?

Thank you in advance.
0
Comment
Question by:AssafL
3 Comments
 
LVL 5

Accepted Solution

by:
rkot2000 earned 50 total points
ID: 6228241
set style property = vbButtonGraphical and use picture propery to load a picture
0
 
LVL 18

Expert Comment

by:deighton
ID: 6228248
Private Sub Form_Load()

'at design time change Command1.Style = 1
Command1.Picture = LoadPicture("c:\newpic.bmp")
End Sub
0
 

Expert Comment

by:mhowling
ID: 6230335
Also you can set the maskcolor to the background color of your picture, thus making it transparent
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

763 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question