469,917 Members | 1,677 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,917 developers. It's quick & easy.

Making "Hot Spots" from Buttons!

I stumbled across a way to make buttons transparent.
Which means its possible to use a button to be a "hot
spot" (if a square hot spot is what you need)

I found the answer waiting in a very obvious place. To
make your button transparent just set it's BackColor to
Web -> Transparent.

If it were a snake it would have bit me.

Well there is a small outline of a button but not bad for
10 minutes work for a "Hot Spot" that has the benefits of
choice of hover cursor, tooltip message and accessibility

So now I display a world map as my Form1 BackgroundImage
and when I roll the cursor over Africa... the tool tip
says "Africa" the cursor changes to a hand with pointing
finger. Click and up comes my selection.

Thanks Herfried and Larry for your suggestions on how to
create a "Hot Spot". They each have additional merits
that I may need in the future.

Nov 21 '05 #1
0 855

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

28 posts views Thread by Act | last post: by
12 posts views Thread by Michel Vanderbeke | last post: by
1 post views Thread by Waqarahmed | last post: by
reply views Thread by Salome Sato | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.