U++ framework
Do not panic. Ask here before giving up.

Home » U++ Library support » U++ Widgets - General questions or Mixed problems » RichTextCtrl - cannot clear selected text. [Fixed] (Need a new method or is there a way to do it I'm missing?)
RichTextCtrl - cannot clear selected text. [Fixed] [message #58342] Sun, 01 May 2022 14:06 Go to previous message
jjacksonRIAB is currently offline  jjacksonRIAB
Messages: 227
Registered: June 2011
Experienced Member
I'm trying to clear the selected text when focus is lost but I can't find any method to do it and .text is private so I can't adjust anchor/cursor from there either. Could we add a method to clear or cancel the selected text or is there another way to do it that I missed?

I see a potential problem with this approach. If you try to right click copy, the context menu steals the focus.

Oops, I appeared to have put this topic in the wrong place. Sorry about that.

[Updated on: Mon, 16 May 2022 14:25]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: CtrlImg::Home() Icons
Next Topic: [FEATURE] Common horizontal scroll on Shift+mouse wheel
Goto Forum:
  


Current Time: Sun Apr 26 11:53:59 GMT+2 2026

Total time taken to generate the page: 0.00724 seconds