By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
445,841 Members | 1,757 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 445,841 IT Pros & Developers. It's quick & easy.

Highlighting Text In Textbox

P: n/a
Hello

When tabbing in a textbox that contains text, the text string is usually
highlighted so that if the user starts typing new text in the textbox, the
old text is erased.

Is there a way that when tabbing in the textbox, the text string would not
be highlighted and the cursor would go to the end of the text string where
the user could just start typing in new text without erasing the old text.

I am using Access 2000

Thanks
G Gerard

Nov 13 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
Try this

Private Sub YourTextBoxName_Enter()

Me!YourTextBoxName.SelStart = Len(Me!YourTextBoxName)

End Sub

"GGerard" <gg*****@nbnet.nb.ca> wrote in message
news:k7*********************@ursa-nb00s0.nbnet.nb.ca...
Hello

When tabbing in a textbox that contains text, the text string is usually
highlighted so that if the user starts typing new text in the textbox, the
old text is erased.

Is there a way that when tabbing in the textbox, the text string would not
be highlighted and the cursor would go to the end of the text string where
the user could just start typing in new text without erasing the old text.

I am using Access 2000

Thanks
G Gerard

Nov 13 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.