Use Image as a button

  • Thread starter Thread starter Samuel
  • Start date Start date
S

Samuel

Hi

I would like to get the functionality of clicking on a button (ASP) when the
user clicks on an image.

Thank you
Samuel
 
You can also create a hotspot in the size of the image and then connect it to
the image.

'suppose the image is 10x10 pixels
dim hs as new hotspot
hs.left = 10
hs.right = 20
hs.top = 10
hs.bottom = 20
hs.HotSpotMode = HotSpotMode.Navigate
hs.NavigateUrl = "......" 'the link you want to go to

dim im as image.fromfile(.....)
im.hotspots.add(hs)

hotspotmode also has more option that could be interresting.

rg,
Eric
 
Back
Top