Word appears to have text double selected

D

David Thielen

Hi;

We have a case where we set the selected range in our AddIn and Word appears
to then have that text double selected. I have to click elsewhere with the
mouse twice to get the caret to move and the text to unselect.

Any idea what is going on and even more important, what we should do/not do
in our code to not get Word in this state?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
W

Wei Lu [MSFT]

Hello Dave,

I would like to know whether you have track the click event.

Do you mean that only when you double click the elsewhere, you could
unselect the text?

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 
D

David Thielen

Hi;

No, we do not track a single click (we do track a double click).

No, not a double click. Two single clicks. It's as though the selected text
was selected twice (I know that makes no sense) and so 1 click elsewhere
reduces it to selected once and another single click then moves the caret.

I think in our code we are setting the selected range twice - to the same
value. Maybe we create 2 range objects with that selected range??? Would that
do it?

--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com

Cubicle Wars - http://www.windwardreports.com/film.htm
 
W

Wei Lu [MSFT]

Hello Dave,

It is possible.

Select range twice may be the problem.

You may need to modify your code.

Sincerely,

Wei Lu
Microsoft Online Community Support

==================================================

When responding to posts, please "Reply to Group" via your newsreader so
that others may learn and benefit from your issue.

==================================================
This posting is provided "AS IS" with no warranties, and confers no rights.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top