Hi echovue,
I used your code to change the colour of the labels on my form when the mouse is over them. It is great thanks! BUT
The only difference is that my labels are in the Form Header. They are in there because they are labels that run a filter which displays continuous records on the same form. If I put the labels in the Detail section they will display for every record- I don't want this.
The problem is that the Private Sub Form Header_MouseMove will only accept one argument and I have another 6 labels that I need this to work on. e.g. lblResources.ForeColor = 26367, lblEducation.ForeColor = 26367
Code:
Private Sub FormHeader_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
lblEnabling.ForeColor = 26367
End Sub
I have tried adding & to the end of each line in an attempt to reference all the labels in the one Private Sub but it's not working. Can you help with this? If there is a way to just turn all text in the header the same colour that would also be acceptable but I can't do that either!
thanks
Bronnas -