Select all on click

morlan

Registered User.
Local time
Today, 12:23
Joined
Apr 23, 2003
Messages
143
When the user clicks on a text box that already has text in it, it should select all text automatically so that they can just type over it.

I tried this


Private Sub txtCurrAdDOR_Click()

Me.txtCurrAdDOR.SelText


End Sub



I get an 'Invalid use of property' error
 
Private Sub txtCurrAdDOR_Click()

Me.txtCurrAdDOR = ""

End Sub



IMO
 
IMO said:
Private Sub txtCurrAdDOR_Click()

Me.txtCurrAdDOR = ""

End Sub



IMO

Fantastic, thanks
 

Users who are viewing this thread

Back
Top Bottom