Search found 10 matches

by noibird
Thu Mar 10, 2011 6:21 pm
Forum: Support
Topic: can't display gif after copying from rve to rv
Replies: 1
Views: 7323

can't display gif after copying from rve to rv

Hi, I have a problem with copying content from RichViewEdit to RichView. I want to copy texts and gif from richviewedit to richview. After I running below code, texts will be copied, but gif will not be copied. How could I fix this problem? Any help is appreciate! // gif and texts have all added in ...
by noibird
Thu Mar 03, 2011 5:18 pm
Forum: Support
Topic: How to keep previous font(with style) not change
Replies: 2
Views: 9963

// Change font void __fastcall TForm1::cbb1Change(TObject *Sender) { edt1->SelectAll(); edt1->Style->TextStyles->Items[1]->FontName = cbb1->FontName; edt1->ApplyTextStyle(1); } After changing font and then copy content to richview, the richview will apply the new font type to the whole richview.
by noibird
Thu Mar 03, 2011 5:12 pm
Forum: Support
Topic: How to keep previous font(with style) not change
Replies: 2
Views: 9963

How to keep previous font(with style) not change

Hi, I'm sorry to trouble you. But this problem have made me in puzzle for several days. I have one richviewedit and one richview, just like a chatbox. I want to copy content from richviewedit to richview with style which is defined by user(bold, size, etc.) while the font in richview should keep the ...
by noibird
Wed Mar 02, 2011 4:45 pm
Forum: Support
Topic: AppendRVFFromStream/InsertRVFFromStream can't work
Replies: 3
Views: 10635

I've fixed the problem. Change rve->SaveRTFToStream to rve->SaveRVFToStream...My mistake.

Thank you very much!
by noibird
Wed Mar 02, 2011 1:34 am
Forum: Support
Topic: AppendRVFFromStream/InsertRVFFromStream can't work
Replies: 3
Views: 10635

sorry, it's my mistake, I have added rv->Format() at the end. But richview didn't display anything.
Is there some parameters I need to setup?
by noibird
Tue Mar 01, 2011 5:04 pm
Forum: Support
Topic: AppendRVFFromStream/InsertRVFFromStream can't work
Replies: 3
Views: 10635

AppendRVFFromStream/InsertRVFFromStream can't work

Hi, I have one richview(rv) and one richviewedit(rve), I want to copy content from richviewedit to richview. I code like this: TMemoryStream *stream = new TMemoryStream(); rve->SaveRTFToStream(stream, false); stream->Position = 0; rv->InsertRVFFromStream(stream, rve->ItemCount); // or rv ...
by noibird
Mon Feb 28, 2011 1:36 pm
Forum: Support
Topic: specific the image name in savehtml
Replies: 5
Views: 13696

Thank you very much :D
by noibird
Sat Feb 26, 2011 7:12 pm
Forum: Support
Topic: specific the image name in savehtml
Replies: 5
Views: 13696

help.......................
by noibird
Fri Feb 25, 2011 2:42 pm
Forum: Support
Topic: specific the image name in savehtml
Replies: 5
Views: 13696

Thanks! I've add rvsoUseItemImageFileNames to Options parameter of SaveHTML, but in HTML the images' name are also prex+num. I specific the images' name like this: rve->InsertPicture("name", gr, rvvaBaseline). Is it right way to specific the image's name? I search the whol forum, I coudn't find a ...
by noibird
Thu Feb 24, 2011 5:20 pm
Forum: Support
Topic: specific the image name in savehtml
Replies: 5
Views: 13696

specific the image name in savehtml

Hi,

I want to use savehtml(or savestream), and I need to specific the image name. But I found savehtml only can save the image with a name:prefix+num.

Is there any way to save the image with a specific name?

Any help is appericate.