Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

how do i create rollover events in vb projects 1

Status
Not open for further replies.

1471

Programmer
Oct 14, 2000
3
GB
how do i create rollover events in vb projects
eg Change image1 to image2 on mousemove event
cheers james
:) :-(
:) [sig][/sig]
 
one way is to load both into images than make either one visible.

There is an example program that has a spining Red top
It shows this very well.

Look in the samples for REDTOP.VBP

Run the program and then minimize it and you will see the top keeps spinning.

[sig]<p>DougP, MCP<br><a href=mailto: dposton@universal1.com> dposton@universal1.com</a><br><a href= > </a><br> Ask me how Bar-codes can help you be more productive.[/sig]
 
Just put 2 images on a form, hide one of them and use the mousemoveover event for the image property do something like

image1.picture = image2.picture

hope this helps :)

[sig]<p>Gordon R. Durgha<br><a href=mailto:gd@vslink.net>gd@vslink.net</a><br><a href= Link Networks, Inc</a><br>[/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top