|
|
Title | Make interesting graphical button effects |
Keywords | button, effects |
Categories | Controls, Multimedia |
|
|
Thanks to Jakob Kofod.
Put an Image control under a Label control. When the mouse moves over the label, change the image.
This example displays images under a series of labels. When you move the mouse over one, the program hides that label's image.
|
|
Private Sub Label2_MouseMove(Button As Integer, Shift As _
Integer, X As Single, Y As Single)
Label15.Alignment = 2
Label15.Caption = "Click here to view greets"
Image2.Visible = False
Label2.Visible = False
Image3.Visible = True
Label3.Visible = True
Image4.Visible = True
Label4.Visible = True
Image5.Visible = True
Label5.Visible = True
Image6.Visible = True
Label6.Visible = True
Image7.Visible = True
Label7.Visible = True
End Sub
|
|
|
|
|
|