Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories

Getting Internet Explorer's selected text

OxyzNOxyzN Member Posts: 60
How do I get Internet Explorer's selected text into a Memo component?
I would like to add a new menu item to Internet Explorer's context menu so I can easily get the selected text into my application when I right click the mouse over that text.

Thanks in advance!!!

Comments

  • zibadianzibadian Member Posts: 6,349
    : How do I get Internet Explorer's selected text into a Memo component?
    : I would like to add a new menu item to Internet Explorer's context menu so I can easily get the selected text into my application when I right click the mouse over that text.
    :
    : Thanks in advance!!!
    :
    You can copy-paste the text into the memo. This is automatically supported by the memo component.
    Alternatively you can also call the PasteFromClipboard method when the form activates. This saves you the pasting; you just need to select the text and copy it (standard command in the IE context menu).
Sign In or Register to comment.