Is there a way to highlight the cursor position, on a form
in access 97?
Also is it possible to better highlight a command button?
The thin line box access uses is hard for my client to see!
Any help is surly appreciated
Place the following function call in both the ON GOT FOCUS and ON MOUSE MOVE events of the buttons or text boxes that you want to highlight. The ON MOUSE MOVE event responds to moving the mouse over the control and ON GOT FOCUS handles using the keyboard to navigate.
Place these two functions in the CLASS MODULE of the form that contains the controls.
Sub ChangeMe()
Dim frmControl As Control, i As Integer, sName As String
For Each frmControl In Me.Controls
For i = 1 To conNumButtons
sName = "OptionLabel" & LTrim(str(i))
If frmControl.Name = sName Then
frmControl.ForeColor = 0
End If
Next
Next
End Sub
Private Function MouseOver(sLabel As String, sControl As String)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.