IE automated text selection

  • Thread starter Thread starter Martin S.
  • Start date Start date
M

Martin S.

Hi there! Somebody knows if it is possible to change IEs
standard behavior when it comes to selecting text from a
page? I´m using a WebBrowser control in a VB6 application
and while selecting text from the control, IE selects
complete words or paragraphs automatically to make the
selection easier. I need to do the opposite, I want to
select text maybe from the half of a word to another half
word, and it´s not posible. Does somebody know how to
acomplish this?

Thanks!
 
I want to select text maybe from the half of a word
to another half word, and it´s not posible.

Correct. It's not possible.
Select the full words and then remove any extraneous substrings
when you paste. An alternative which I use a lot is to open a Notepad
window with View Source and then select substrings directly from it.

The only problem with that approach is finding the context.
In that case using the IE5 Web Accessory View Partial Source
first may be useful. (make a selection; then right-click,u)
(You will still have to do View Source on that window.
It's just a way to avoid the find in a Notepad window of the full source
of the web page.)


HTH

Robert Aldwinckle
---


Hi there! Somebody knows if it is possible to change IEs
standard behavior when it comes to selecting text from a
page? I´m using a WebBrowser control in a VB6 application
and while selecting text from the control, IE selects
complete words or paragraphs automatically to make the
selection easier. I need to do the opposite, I want to
select text maybe from the half of a word to another half
word, and it´s not posible. Does somebody know how to
acomplish this?

Thanks!
 
Back
Top