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 #14449 is a reply to message #14424] |
Tue, 26 February 2008 21:08 |
|
mirek
Messages: 13975 Registered: November 2005
|
Ultimate Member |
|
|
alex100 wrote on Tue, 26 February 2008 03:13 |
Thus I use the code (yet before inserting blank paragraphs):
String strQTF << txText.GetQTF(CHARSET_ISO8859_1);
txText.SetQTF(strQTF);
When the text is restored the word UTF-8 appears on the beginning...
|
Not reproduced. I tried:
String FileName()
{
// return "d:/test.qtf";
return GetExeDirFile("test.qtf");
}
GUI_APP_MAIN
{
// ChClassicSkin();
// ChStdSkin();
// SetLanguage(LNG_('P','L','P','L'));
// InstallCrashDump();
DUMP(GUI_PopUpEffect());
RichEditWithToolBar e;
DUMP(ScrollBarSize());
e.Pick(ParseQTF(LoadFile(FileName())));
TopWindow w;
w.SetRect(0, 0, 700, 500);
w.Sizeable().Zoomable();
w.Add(e.SizePos());
w.Run();
String strQTF = e.GetQTF(CHARSET_ISO8859_1);
e.SetQTF(strQTF);
w.Run();
String x = e.GetQTF();
SaveFile(FileName(), x);
LOG("Exit");
}
Mirek
|
|
|
|
|
Get, modify and set text of RichEdit(WithToolBar)
By: alex100 on Tue, 26 February 2008 09:13
|
|
|
Re: Get, modify and set text of RichEdit(WithToolBar)
By: mirek on Tue, 26 February 2008 21:08
|
|
|
Re: Get, modify and set text of RichEdit(WithToolBar)
By: alex100 on Tue, 26 February 2008 21:43
|
|
|
Re: Get, modify and set text of RichEdit(WithToolBar)
By: alex100 on Tue, 26 February 2008 21:45
|
|
|
Re: Get, modify and set text of RichEdit(WithToolBar)
By: mirek on Tue, 26 February 2008 22:04
|
|
|
Re: Get, modify and set text of RichEdit(WithToolBar)
By: alex100 on Tue, 26 February 2008 22:37
|
|
|
Re: Get, modify and set text of RichEdit(WithToolBar)
By: alex100 on Tue, 26 February 2008 23:59
|
|
|
Re: Get, modify and set text of RichEdit(WithToolBar)
By: mirek on Wed, 27 February 2008 00:27
|
|
|
Re: Get, modify and set text of RichEdit(WithToolBar)
By: alex100 on Wed, 27 February 2008 10:16
|
|
|
Re: Get, modify and set text of RichEdit(WithToolBar)
By: mirek on Wed, 27 February 2008 10:55
|
|
|
Re: Get, modify and set text of RichEdit(WithToolBar)
By: alex100 on Wed, 27 February 2008 11:06
|
Goto Forum:
Current Time: Sun Apr 28 02:31:27 CEST 2024
Total time taken to generate the page: 0.03456 seconds
|