Link to home
Start Free TrialLog in
Avatar of AssafL
AssafL

asked on

Pictures on buttons

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.
ASKER CERTIFIED SOLUTION
Avatar of rkot2000
rkot2000

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Private Sub Form_Load()

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

Also you can set the maskcolor to the background color of your picture, thus making it transparent