Find Code:
All Words
Any of the Words
Exact Phrase
Home
:
Code
:
Forums
:
Submit
:
Mailing List
:
About
:
Contact
Code
All
VB.NET
ASP.NET
C#
VB Classic
ASP Classic
Snippets
Popular
Resources
Submit Code
Forums
Articles
Tips
Links
Books
Contest
Link to us
Flashing button
Author:
Threesa
E-mail:
Click to e-mail author
Website:
http://users.skynet.be/vriendenenzo
Submitted:
7/23/2004
Version:
VB5
Compatibility:
VB5, VB6
Category:
Controls
Views:
16503
Flashes button when mouse moves on button.
Declarations:
declarations are in code, but this is what you need: two images or buttons (here with the name closebutton and closemouseover) First one set as Visible, second one as invisible (under options). Both buttons/images place upon each other.
Code:
Button 1: Private Sub closebutton_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) 'show closemouseover when mouse on close closemouseover.Visible = True 'hide closebutton when mouse on close closebutton.Visible = False End Sub Button 2: Private Sub closemouseover_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single) 'show closebutton when mouse goes away closebutton.Visible = True 'hide closemouseover when mouse goes away closemouseover.Visible = False End Sub
Home
|
Forums
|
Submit
|
Books
|
Mailing List
|
Advertising
|
About
|
Contact
© 2024 A1VBCode. All rights reserved.
Legal disclaimer & terms of use
Privacy statement