I'd like the font color to change on my tab control in a similar way to the default database box. Currently the font color is black, and I'd like it to turn to blue when you put your mouse over the individual tabs. I've tried various pieces of code but I can't get anything to work. The latest failure looks like this:
It craps out on "FontColor". I tried using the .Caption.FontColor, but it won't work either.
I did get this code to work:
But the problem is that the font size won't reset when you move the mouse off the control. It just stays all big. Also, it changes the font size of the entire tab control and not just the one page. I tried using "FontSize" on the page but it gives me the "member not found" message on that code.
Any suggestions? I'm using Access 97, there are six pages on the tab control. Can't think of any other info you'd need...
Thanks!
Onwards,
Q-
Code:
Private Sub pgeTagsByList_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.pgeTagsByList.FontColor = "#A8C8F0"
End Sub
It craps out on "FontColor". I tried using the .Caption.FontColor, but it won't work either.
I did get this code to work:
Code:
Private Sub pgeTagsByList_MouseMove(Button As Integer, Shift As Integer, X As Single, Y As Single)
Me.TabCtl0.FontSize = 30
End Sub
But the problem is that the font size won't reset when you move the mouse off the control. It just stays all big. Also, it changes the font size of the entire tab control and not just the one page. I tried using "FontSize" on the page but it gives me the "member not found" message on that code.
Any suggestions? I'm using Access 97, there are six pages on the tab control. Can't think of any other info you'd need...
Thanks!
Onwards,
Q-