Detect the selected text of TextBox

Suppose a textbox has the text 'Hello'. The user selected a part of the TextBox. Then the label will show the selected text. Can you please help me with this?

Use @Taifun 's clipboard extension



Try using this extension (this is my extension, I compiled it just now).

com.gordonlu.textboxutil.aix (5.9 KB)

Use the GetSelectedText method. I have proven that this works with both multiline and single line textboxes.

blocks (1)

This checkes the selected text for every 2 seconds, starting from when the screen initializes. I am still trying to make an event for this, for now, use this.


I mean, without copying the text :wink:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.