Jordan2000
Registered User.
- Local time
- Today, 18:10
- Joined
- Nov 4, 2004
- Messages
- 24
I am trying to make a module. that wil change the collor of any lable that is been selected with the mouse.
Public Function lblBackcollor(optie As String)
Dim hoverColor, leaveColor As Long
hoverColor = RGB(255, 255, 0)
leaveColor = "12632256"
If optie = "1" Then
hoverColor
ElseIf optie = "2" Then
leaveColor
Else
End If
End Function
te function is been called like
lblinformation.backcolor = lblBackcollor("1")
it dont work can anyone help.
Public Function lblBackcollor(optie As String)
Dim hoverColor, leaveColor As Long
hoverColor = RGB(255, 255, 0)
leaveColor = "12632256"
If optie = "1" Then
hoverColor
ElseIf optie = "2" Then
leaveColor
Else
End If
End Function
te function is been called like
lblinformation.backcolor = lblBackcollor("1")
it dont work can anyone help.