0% found this document useful (0 votes)
6 views4 pages

Efek Gerak Mouse

The document contains Visual Basic code for mouse movement events on multiple menu frames. Each frame changes its background color and label colors based on mouse movement, highlighting the active frame while dimming others. The code ensures a consistent visual feedback mechanism for user interaction with the menu interface.

Uploaded by

Nur Hidayat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
6 views4 pages

Efek Gerak Mouse

The document contains Visual Basic code for mouse movement events on multiple menu frames. Each frame changes its background color and label colors based on mouse movement, highlighting the active frame while dimming others. The code ensures a consistent visual feedback mechanism for user interaction with the menu interface.

Uploaded by

Nur Hidayat
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Private Sub FrameMENU1_MouseMove(ByVal Button As Integer, ByVal Shift As Integer,

ByVal X As Single, ByVal Y As Single)


Me.FrameMENU1.BackColor = RGB(15, 219, 77)
Me.IndMENU1.BackStyle = fmBackStyleOpaque
Me.IndMENU1.BackColor = vbWhite
Me.LblMENU1.ForeColor = vbBlack
Me.FrameMENU2.BackColor = &H80FF&
Me.IndMENU2.BackStyle = fmBackStyleTransparent
Me.LblMENU2.ForeColor = vbWhite
Me.FrameMENU3.BackColor = &H80FF&
Me.IndMENU3.BackStyle = fmBackStyleTransparent
Me.LblMENU3.ForeColor = vbWhite
Me.FrameMENU4.BackColor = &H80FF&
Me.IndMENU4.BackStyle = fmBackStyleTransparent
Me.LblMENU4.ForeColor = vbWhite
Me.FrameMENU5.BackColor = &H80FF&
Me.IndMENU5.BackStyle = fmBackStyleTransparent
Me.LblMENU5.ForeColor = vbWhite
Me.FrameMENU6.BackColor = &H80FF&
Me.IndMENU6.BackStyle = fmBackStyleTransparent
Me.LblMENU6.ForeColor = vbWhite
End Sub

Private Sub FrameMENU2_MouseMove(ByVal Button As Integer, ByVal Shift As Integer,


ByVal X As Single, ByVal Y As Single)
Me.FrameMENU2.BackColor = RGB(15, 219, 77)
Me.IndMENU2.BackStyle = fmBackStyleOpaque
Me.IndMENU2.BackColor = vbWhite
Me.LblMENU2.ForeColor = vbBlack
Me.FrameMENU1.BackColor = &H80FF&
Me.IndMENU1.BackStyle = fmBackStyleTransparent
Me.LblMENU1.ForeColor = vbWhite
Me.FrameMENU3.BackColor = &H80FF&
Me.IndMENU3.BackStyle = fmBackStyleTransparent
Me.LblMENU3.ForeColor = vbWhite
Me.FrameMENU4.BackColor = &H80FF&
Me.IndMENU4.BackStyle = fmBackStyleTransparent
Me.LblMENU4.ForeColor = vbWhite
Me.FrameMENU5.BackColor = &H80FF&
Me.IndMENU5.BackStyle = fmBackStyleTransparent
Me.LblMENU5.ForeColor = vbWhite
Me.FrameMENU6.BackColor = &H80FF&
Me.IndMENU6.BackStyle = fmBackStyleTransparent
Me.LblMENU6.ForeColor = vbWhite
End Sub

Private Sub FrameMENU3_MouseMove(ByVal Button As Integer, ByVal Shift As Integer,


ByVal X As Single, ByVal Y As Single)
Me.FrameMENU3.BackColor = RGB(15, 219, 77)
Me.IndMENU3.BackStyle = fmBackStyleOpaque
Me.IndMENU3.BackColor = vbWhite
Me.LblMENU3.ForeColor = vbBlack
Me.FrameMENU1.BackColor = &H80FF&
Me.IndMENU1.BackStyle = fmBackStyleTransparent
Me.LblMENU1.ForeColor = vbWhite
Me.FrameMENU2.BackColor = &H80FF&
Me.IndMENU2.BackStyle = fmBackStyleTransparent
Me.LblMENU2.ForeColor = vbWhite
Me.FrameMENU4.BackColor = &H80FF&
Me.IndMENU4.BackStyle = fmBackStyleTransparent
Me.LblMENU4.ForeColor = vbWhite
Me.FrameMENU5.BackColor = &H80FF&
Me.IndMENU5.BackStyle = fmBackStyleTransparent
Me.LblMENU5.ForeColor = vbWhite
Me.FrameMENU6.BackColor = &H80FF&
Me.IndMENU6.BackStyle = fmBackStyleTransparent
Me.LblMENU6.ForeColor = vbWhite
End Sub

Private Sub FrameMENU4_MouseMove(ByVal Button As Integer, ByVal Shift As Integer,


ByVal X As Single, ByVal Y As Single)
Me.FrameMENU4.BackColor = RGB(15, 219, 77)
Me.IndMENU4.BackStyle = fmBackStyleOpaque
Me.IndMENU4.BackColor = vbWhite
Me.LblMENU4.ForeColor = vbBlack
Me.FrameMENU1.BackColor = &H80FF&
Me.IndMENU1.BackStyle = fmBackStyleTransparent
Me.LblMENU1.ForeColor = vbWhite
Me.FrameMENU2.BackColor = &H80FF&
Me.IndMENU2.BackStyle = fmBackStyleTransparent
Me.LblMENU2.ForeColor = vbWhite
Me.FrameMENU3.BackColor = &H80FF&
Me.IndMENU3.BackStyle = fmBackStyleTransparent
Me.LblMENU3.ForeColor = vbWhite
Me.FrameMENU5.BackColor = &H80FF&
Me.IndMENU5.BackStyle = fmBackStyleTransparent
Me.LblMENU5.ForeColor = vbWhite
Me.FrameMENU6.BackColor = &H80FF&
Me.IndMENU6.BackStyle = fmBackStyleTransparent
Me.LblMENU6.ForeColor = vbWhite
End Sub

Private Sub FrameMENU5_MouseMove(ByVal Button As Integer, ByVal Shift As Integer,


ByVal X As Single, ByVal Y As Single)
Me.FrameMENU5.BackColor = RGB(15, 219, 77)
Me.IndMENU5.BackStyle = fmBackStyleOpaque
Me.IndMENU5.BackColor = vbWhite
Me.LblMENU5.ForeColor = vbBlack
Me.FrameMENU1.BackColor = &H80FF&
Me.IndMENU1.BackStyle = fmBackStyleTransparent
Me.LblMENU1.ForeColor = vbWhite
Me.FrameMENU2.BackColor = &H80FF&
Me.IndMENU2.BackStyle = fmBackStyleTransparent
Me.LblMENU2.ForeColor = vbWhite
Me.FrameMENU3.BackColor = &H80FF&
Me.IndMENU3.BackStyle = fmBackStyleTransparent
Me.LblMENU3.ForeColor = vbWhite
Me.FrameMENU4.BackColor = &H80FF&
Me.IndMENU4.BackStyle = fmBackStyleTransparent
Me.LblMENU4.ForeColor = vbWhite
Me.FrameMENU6.BackColor = &H80FF&
Me.IndMENU6.BackStyle = fmBackStyleTransparent
Me.LblMENU6.ForeColor = vbWhite
End Sub

Private Sub FrameMENU6_MouseMove(ByVal Button As Integer, ByVal Shift As Integer,


ByVal X As Single, ByVal Y As Single)
Me.FrameMENU6.BackColor = RGB(15, 219, 77)
Me.IndMENU6.BackStyle = fmBackStyleOpaque
Me.IndMENU6.BackColor = vbWhite
Me.LblMENU6.ForeColor = vbBlack
Me.FrameMENU1.BackColor = &H80FF&
Me.IndMENU1.BackStyle = fmBackStyleTransparent
Me.LblMENU1.ForeColor = vbWhite
Me.FrameMENU2.BackColor = &H80FF&
Me.IndMENU2.BackStyle = fmBackStyleTransparent
Me.LblMENU2.ForeColor = vbWhite
Me.FrameMENU3.BackColor = &H80FF&
Me.IndMENU3.BackStyle = fmBackStyleTransparent
Me.LblMENU3.ForeColor = vbWhite
Me.FrameMENU4.BackColor = &H80FF&
Me.IndMENU4.BackStyle = fmBackStyleTransparent
Me.LblMENU4.ForeColor = vbWhite
Me.FrameMENU5.BackColor = &H80FF&
Me.IndMENU5.BackStyle = fmBackStyleTransparent
Me.LblMENU5.ForeColor = vbWhite
End Sub

Private Sub FrameMENUSAMPING_MouseMove(ByVal Button As Integer, ByVal Shift As


Integer, ByVal X As Single, ByVal Y As Single)
Me.FrameMENU1.BackColor = &H80FF&
Me.IndMENU1.BackStyle = fmBackStyleTransparent
Me.LblMENU1.ForeColor = vbWhite
Me.FrameMENU2.BackColor = &H80FF&
Me.IndMENU2.BackStyle = fmBackStyleTransparent
Me.LblMENU2.ForeColor = vbWhite
Me.FrameMENU3.BackColor = &H80FF&
Me.IndMENU3.BackStyle = fmBackStyleTransparent
Me.LblMENU3.ForeColor = vbWhite
Me.FrameMENU4.BackColor = &H80FF&
Me.IndMENU4.BackStyle = fmBackStyleTransparent
Me.LblMENU4.ForeColor = vbWhite
Me.FrameMENU5.BackColor = &H80FF&
Me.IndMENU5.BackStyle = fmBackStyleTransparent
Me.LblMENU5.ForeColor = vbWhite
Me.FrameMENU6.BackColor = &H80FF&
Me.IndMENU6.BackStyle = fmBackStyleTransparent
Me.LblMENU6.ForeColor = vbWhite
End Sub

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy