Cursor

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How do I change how the cursor looks in a control on a form. When i click on
a control in my form the cursor is hard to see. how do I make the blinking
line where the cursor is located larger or change its color to see more
easily
 
That is probably what i am looking for Thanks,

I am not an expert at this. My Access skills are self learned, so i may
require a little more assistance. Where do i enter this code and what part of
the code changes the look of the cursor so that I can modify it.

any more assistance will be greatly appreciated.
 
Terry, to use this code, you should first create a module, and then put this
code, (and the fhWnd code) into that module. You'll have to put all the
parts that start with Private Declare Function above all the parts that
start with function of sub. Then you will call the sMakeCaret sub from the
onClick event of each control where you want the modified cursor (it only
works on individual controls, not the form as a whole). Here's an example:

Private Sub txtBillingZip_Click()
sMakeCaret txtBillingZip, 6, 18
End Sub

the numbers are the width and height of your cursor.
hope this helps
-John
 
Back
Top