D
DS
Anyway of hiding the cursor, or at least coloring it so it's not seen?
Thanks
DS
Thanks
DS
Great Thanks..Graham said:There's also this way. Add the following to a module:
Public Declare Function ShowCursor Lib "user32" _
(ByVal bShow As Long) As Long
Public Sub ShowPointer()
Do While ShowCursor(1) < 0
DoEvents
Loop
End Sub
Public Sub HidePointer()
Do While ShowCursor(0) >= -1
DoEvents
Loop
End Sub
Then create an unbound form that has the following code in its Load and
Unload events:
Private Sub Form_Load()
HidePointer
End Sub
Private Sub Form_Unload()
ShowPointer
End Sub
Finally, create a macro called "AutoExec". Add an OpenForm action that opens
the form you just created, and make sure the WindowMode = Hidden.
The above will load the hidden form when the application starts. Loading the
form will hide the cursor. When the application closes, the hidden form will
unload, and show the cursor again.
Regards,
Graham R Seach
Microsoft Access MVP
Sydney, Australia
Thanks....I need the box to enabled though, because its on a subformJohn said:Hi DS,
If you're talking about textboxes on Microsoft Access forms, and want to
hide the flashing insertion point, you can set the textbox's Locked
property to True and its Enabled property to False.