Changing text case inside RVE
Posted: Fri May 28, 2010 3:26 pm
I have font case change feature in my app but got one problem.
How can I change case for selected text without losing text formatting?
The thing is not only in UPPERCASE and lowercase but I've implemented First Of Each Word Uppercase too.
Right now I'm using this code which loses different text formatting:
How can I change case for selected text without losing text formatting?
The thing is not only in UPPERCASE and lowercase but I've implemented First Of Each Word Uppercase too.
Right now I'm using this code which loses different text formatting:
Code: Select all
s:=RichViewEdit1.GetSelTextW;
...
RichViewEdit1.InsertTextW(s);