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
Highlighted.jpg
ASKER CERTIFIED SOLUTION
membership
Create a free account to see this answer
Signing up is free and takes 30 seconds. No credit card required.
Woah, how'd I type that? My mind must have been somewhere else. Here's what I intended to type:
Me.ActiveControl.SelStart=0
ASKER
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'.
ASKER
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.
ASKER