Link to home
Create AccountLog in
Avatar of geeta_m9
geeta_m9

asked on

How to prevent a memo field in a form from being highlighted

I have created a form with three tabs. The problem I am faced with is when I click on a particular tab the contents in the field show up as being highlighted (see attached). This is a bit hard on the eyes. Is there a way to prevent this from happening? I would rather just have the cursor at the beginning of the text.
Highlighted.jpg
ASKER CERTIFIED SOLUTION
Avatar of IrogSinta
IrogSinta
Flag of United States of America image

Link to home
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
See answer
Avatar of geeta_m9
geeta_m9

ASKER

Your last solution gives an error, but your first two solutions seem to work.
Woah, how'd I type that?  My mind must have been somewhere else.  Here's what I intended to type:
Me.ActiveControl.SelStart=0

Open in new window

I did what you stated, but received a message stating, "Object doesn't support this property or method".
With that last method, the TabStop properties should be set to 'Yes'.
I am still getting an error. However, your first two solutions seem to work, so I think I will just go with either of them.