Command Button Picture

  • Thread starter Thread starter Lou
  • Start date Start date
How do assign a picture file to a command button

I don't believe there is a button that will accept an image. Try just
making a clickable image:

<A onclick="PopupCalendar()"><IMG title="Click here to open calendar"
src="images/calendar.gif"></A>

hth
Dan
 
DanG said:
I don't believe there is a button that will accept an image. Try just
making a clickable image:

<A onclick="PopupCalendar()"><IMG title="Click here to open calendar"
src="images/calendar.gif"></A>

Well, note that the question has been posted to a VB.NET group ;-).
 
My first .NET project. ANd yes it was difficult!
Like being in Japan and not speaking Japanese!

ctrl.Image = Image.FromFile("D:\MyFole.bmp")

I'm slowly getting there!
 
Well, note that the question has been posted to a VB.NET group ;-).
You could have given as well the answer in VB.Net.
YourImage.src = "images/calendar.gif

Although using an imagebutton is ofcourse easier

Cor
 
Back
Top