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

Keep Memo field from highlighting text when click in field?

P: n/a
Is there any way to stop Access from highlighting all the text in a
memo box? If I click again the text is no longer highlighted, but I
would like to get it to not highlight at all.

Thanks for any help,

ShyGuy
Nov 12 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Thanks for the response. It works perfectly. ;-)

ShyGuy


In the Control's Enter event, to place the cursor at the beginning of the
text:

If Not IsNull([FieldName]) Then
[FieldName].SelStart = 0
End If

To place the cursor at the end of the text, use:

[FieldName].SelStart = Len([FieldName])

This will only be in effect if you tab into the control, otherwise
the cursor will be where ever you click in the control.


Nov 12 '05 #2

P: n/a
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

The easy way is to use the Tools > Options > Keyboard tab > Behavior
Entering Field options to either "Go to start of field" or "Go to end of
field."

MGFoster:::mgf
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBP1FWy4echKqOuFEgEQIzTwCg3uX9Eq/FLj6+vPlDxD6Fi3wxj44AnjMj
Tdby8RF/wETShqaUzA45VyER
=ryL4
-----END PGP SIGNATURE-----
Shyguy wrote:

Is there any way to stop Access from highlighting all the text in a
memo box? If I click again the text is no longer highlighted, but I
would like to get it to not highlight at all.

Thanks for any help,

ShyGuy

Nov 12 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.