Is it Possible to turn off the flashing of a cursor (or preferably render it invisible) on entering a textbox and reset the properties to default when the textbox loses its focus?
Private sub txtCountry_Exit(Cancel As Integer)
If IsNull(Me.txtCountry) Then
Me.txtCountry.Value = Me.txtCountry.OldValue
End If
End sub
_________________________________________________________
Or, I find this doesn't always work..
Private sub txtCountry_Click()
mstrCountry = Me.txtCountry'(module level variable)
Me.txtCountry = null '(easier for editting)
End Sub
__________________________________________________
Private sub txtCountry_Exit(Cancel As Integer)
If IsNull(Me.txtCountry) Then
Me.txtCountry.Value = mstrCountry
End If
End sub
Funny you ask missinglinq, my original post started off by saying "In regards to your second point...", but for brevity,
I left it as is, assuming one would get the point...?
I believe what LouiseJ means by "and reset the properties to default when the textbox loses its focus" is to return the cursor's properties to default, i.e. have the cursor re-appear as normal, after leaving the textbox.
Actually this occurs in some apps online, especially on login screens, and I hate it for just that reason! There's no blinking cursor anywhere and you have to start typing to see where the @#$% thing is! Sometimes it's sitting in the signin box and sometimes it's not!
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.