Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums
Members
Pages
Search
Help
Register
Login
Home
Home
»
U++ Library support
»
RichText,QTF,RTF...
»
I really don`t know how to UPDATE the RichText,help!!
Show:
Today's Messages
::
Show Polls
::
Message Navigator
E-mail to friend
I really don`t know how to UPDATE the RichText,help!!
[
message #36614
]
Wed, 20 June 2012 13:09
akebee
Messages:
90
Registered:
August 2011
Location:
China
Member
RichText txt;
RichPara para;
//give some fmt and value to para
txt.Cat(para);
RichTextView view;
view.Pick(txt);
//then i want to give some new fmt and value to para
txt.Cat(para);
vew.Pick(txt); //it collapse!!!! how can i update new fmt??
Report message to a moderator
Re: I really don`t know how to UPDATE the RichText,help!!
[
message #36615
is a reply to
message #36614
]
Wed, 20 June 2012 14:01
BioBytes
Messages:
307
Registered:
October 2008
Location:
France
Senior Member
Hi Akebee,
Perhaps you could have a look to :
http://www.ultimatepp.org/reference$RichTextObject$en-us.htm l
Have a nice day
______________________
Regards
Biobytes
Report message to a moderator
Re: I really don`t know how to UPDATE the RichText,help!!
[
message #36618
is a reply to
message #36614
]
Thu, 21 June 2012 01:45
akebee
Messages:
90
Registered:
August 2011
Location:
China
Member
yeah ,BioBytes,
i see the example, use SetQTF can do that
Report message to a moderator
Re: I really don`t know how to UPDATE the RichText,help!!
[
message #36621
is a reply to
message #36614
]
Thu, 21 June 2012 13:57
akebee
Messages:
90
Registered:
August 2011
Location:
China
Member
That does not work!!!
Report message to a moderator
Re: I really don`t know how to UPDATE the RichText,help!!
[
message #37420
is a reply to
message #36614
]
Tue, 02 October 2012 08:10
mirek
Messages:
13975
Registered:
November 2005
Ultimate Member
akebee wrote on Wed, 20 June 2012 07:09
RichText txt;
RichPara para;
//give some fmt and value to para
txt.Cat(para);
RichTextView view;
view.Pick(txt);
Pick destroys the content of txt. That is why it does not work.
Try
RichText copy; copy <<= txt; view.Pick(copy);
Quote:
//then i want to give some new fmt and value to para
txt.Cat(para);
vew.Pick(txt); //it collapse!!!! how can i update new fmt??
Report message to a moderator
Previous Topic:
Fatal error appear every time when use SetQTF
Next Topic:
RichEdit page size
Goto Forum:
- Community
U++ community news and announcements
PR, media coverage, articles and documentation
U++ Webs: Functioning, Layout , Design, Features and Structure of these forums, homepage etc.
Coffee corner
Newbie corner
U++ based job offers
- Developing U++
U++ Developers corner
External resources
Releasing U++
UppHub
Bugs (& fixes)
Documentation
U++ TheIDE and Library: Releases and ChangeLogs
Mac OS
Android
- U++ Library support
U++ Library : Other (not classified elsewhere)
U++ Core
Look and Chameleon Technology
U++ Libraries and TheIDE: i18n, Unicode and Internationalization
U++ SQL
U++ MT-multithreading and servers
U++ Callbacks and Timers
U++ Widgets - General questions or Mixed problems
TopWindow&PopUp, TrayIcon
Menus&Toolbars
StatusBar&InfoCtrl
Splitter
TabCtrl
Slider&ProgressIndicator
ArrayCtrl, HeaderCtrl & GridCtrl
TreeCtrl
RichText,QTF,RTF...
LineEdit, EditFields, DocEdit
Draw, Display, Images, Bitmaps, Icons
FileSel&FileList, Path
CalendarCtrl
Skylark
ScatterDraw & ScatterCtrl
Archive
- U++ TheIDE
U++ TheIDE: Other Features Wishlist and/or Bugs
U++ TheIDE: Compiling, Linking, Debugging of your packages
U++ TheIDE: Installation, Compiling and Running of theide
U++ TheIDE: CodeEditor, Assist++, Topic++
U++ TheIDE: Packages
U++ TheIDE: Layout (Forms) Designer
U++ TheIDE: Icon designer
- Extra libraries, Code snippets, applications etc.
U++ users applications in progress and useful code snippets, including reference examples!
U++ Esc Interpreter, Esc Macros and templates
C++ language problems and code snippets
Applications created with U++
OS Problems etc., Win32, POSIX, MacOS, FreeBSD, X11 etc
-=]
Back to Top
[=-
[
Syndicate this forum (XML)
] [
] [
]
Current Time:
Mon Apr 29 08:41:58 CEST 2024
Total time taken to generate the page: 0.03392 seconds