Use Image as a button

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
 
E

Eric

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,054
Latest member
TrimKetoBoost

Latest Threads

Top