Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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: 220
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: Mon Apr 29 17:48:55 CEST 2024

Total time taken to generate the page: 0.02793 seconds