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 » Get, modify and set text of RichEdit(WithToolBar)
Re: Get, modify and set text of RichEdit(WithToolBar) [message #14461 is a reply to message #14459] Tue, 26 February 2008 23:59 Go to previous messageGo to previous message
alex100 is currently offline  alex100
Messages: 118
Registered: November 2007
Experienced Member
One way could be:

RichText clip=txText.CopyText(0,MAXINT); //Get text
txText.Clear(); //Clear RichEdit
//Insert some empty lines on the top of the text
txText.PasteText(clip); //Put text again on the RichText

But during the PasteText it appends an extra "return" key on the end of the text, this means that for each PasteText it appends a new paragraph. Why append a new empty paragraph during the PasteText?

Sad

Alex
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: openGL and texture
Next Topic: How to turn off Ctrl Updatable action?
Goto Forum:
  


Current Time: Sun Apr 28 15:07:01 CEST 2024

Total time taken to generate the page: 0.02539 seconds