Solved

Pictures on buttons

Posted on 2001-06-26
3
199 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

NAS Cloud Backup Strategies

This article explains backup scenarios when using network storage. We review the so-called “3-2-1 strategy” and summarize the methods you can use to send NAS data to the cloud

Question has a verified solution.

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

Most everyone who has done any programming in VB6 knows that you can do something in code like Debug.Print MyVar and that when the program runs from the IDE, the value of MyVar will be displayed in the Immediate Window. Less well known is Debug.Asse…
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…

821 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