Search found 14 matches

by greatsea
Fri Dec 23, 2011 6:03 am
Forum: Support
Topic: Insert gif is ok,but cannot load the stream
Replies: 2
Views: 8830

That is good.Thank you very much,Sergey.
by greatsea
Thu Dec 22, 2011 6:14 pm
Forum: Support
Topic: Insert gif is ok,but cannot load the stream
Replies: 2
Views: 8830

Insert gif is ok,but cannot load the stream

dear sir,now I do a demo about insert gif ,save to stream,and load from stream.(the bmp,jpg,png,etc is all ok,only the gif is not ok) 1.down http://www.trichview.com/resources/thirdparty/gifimage.zip 2.Use RVGifAnimate,GifImage(and set RichView.AnimationMode = rvaniOnFormat). 3. initialization ...
by greatsea
Thu Dec 08, 2011 2:05 pm
Forum: Support
Topic: How use the TRVStyle for save and load format text?
Replies: 3
Views: 10579

yes,use RichViewEdit.

Save:
rve.SaveRVFToStream(TS,False);

then insert the stream data into DB,all is OK.

Load:
TS := TStringStream.Create(DBMSG);
try
TS.Position := 0;
rve.InsertRVFFromStream(TS, rve.ItemCount);
rve.FormatTail;
finally
TS.Free;
end;
by greatsea
Wed Dec 07, 2011 10:42 am
Forum: Support
Topic: How use the TRVStyle for save and load format text?
Replies: 3
Views: 10579

How use the TRVStyle for save and load format text?

Edit the text in RichViewEdit,and save them into DB.
Now,the text data is include a variety of font,size,bold,etc.
Load it from DB,the text will become the only "normal text",not is the rich text.
How to make the load text to become original rich text?
Thanks.
by greatsea
Sun Nov 27, 2011 3:44 pm
Forum: Support
Topic: Can delete the chat message,and delete from db?
Replies: 6
Views: 14904

Thank you very much,Sergey.
The Tag is a good idea,and I test that all is ok.
The RichView have a lots of great thinks,thank you again.
by greatsea
Sun Nov 27, 2011 5:47 am
Forum: Support
Topic: Can delete the chat message,and delete from db?
Replies: 6
Views: 14904

The PKID is the primary key of table. By the PKID, delete the record from table will can be done: Delete from T_MSGCHAT where PKID = xx The records of T_MSGCHAT looks like: PKID sayname saytime saycontent etc. 1 me 2011-11-26 11:20 Hello .... 2 Tom 2011-11-26 11:21 Hi .... 3 ...
by greatsea
Sat Nov 26, 2011 5:28 pm
Forum: Support
Topic: Can delete the chat message,and delete from db?
Replies: 6
Views: 14904

Thank you,Sergey. The message is stored into db as below: PKID sayname saytime saycontent etc. Load is as below: AddTextNL(); //display sayname,saytime InsertRVFFromStream(); //display message content I don't know how to insert the PKID into richview and not know how to select the section and get ...
by greatsea
Sat Nov 26, 2011 2:24 pm
Forum: Support
Topic: Can delete the chat message,and delete from db?
Replies: 6
Views: 14904

Can delete the chat message,and delete from db?

The chat message is saved into db.OK. Load from db and display them on the richview(or readonly richviewEdit).OK. For example: Me: 2011-11-26 22:00 Hello Tom: 2011-11-26 22:01 Hi ................ Now,how can delete some message?as so:delete the message: Tom: 2011-11-26 22:01 Hi and delete it from db ...
by greatsea
Mon Nov 21, 2011 2:23 pm
Forum: Support
Topic: Can the dragcontrol demo delete the inserted data?
Replies: 4
Views: 11783

Thanks, Sergey,that's good.
I try to test using pirated copy now,sorry, and will buy legal copy after some time.
by greatsea
Fri Nov 18, 2011 7:51 am
Forum: Support
Topic: Can the dragcontrol demo delete the inserted data?
Replies: 4
Views: 11783

Sergey Tkachenko wrote:Do you want to insert these controls in an editor (TRichViewEdit) or in a chat window (TRichView)?
Thank you,Sergey. TRichViewEdit or TRichView,is never mind.
by greatsea
Thu Nov 10, 2011 2:38 am
Forum: Support
Topic: Can the dragcontrol demo delete the inserted data?
Replies: 4
Views: 11783

Can the dragcontrol demo delete the inserted data?

Dear Sir,the demo of DragControl,can it do this: ........ Sending file ttt.zip [][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][][] Wating..... Cancel ............ =================================== Notes:above text,[][]is a progressbar,and Cancel is a button. When the file send ...
by greatsea
Wed Nov 09, 2011 2:08 am
Forum: Support
Topic: Can't drag picture into richview from some application
Replies: 4
Views: 12050

Thanks very much.
The QQ application is source,and the richviewEdit is target,then failed.
Is the the reason : The soure is a picture in fact, but the first format of source is Unicode,not HTML format, or give CF_DIB or CF_HDROP?
by greatsea
Mon Nov 07, 2011 5:53 pm
Forum: Support
Topic: Can't drag picture into richview from some application
Replies: 4
Views: 12050

Thanks for your reply.The application is QQ,a chat tools online,and about some hundred million people is using it now.The web address is:http://www.imqq.com/
The picture in the qq can drag drop to other appliction normally.
by greatsea
Sat Nov 05, 2011 6:10 pm
Forum: Support
Topic: Can't drag picture into richview from some application
Replies: 4
Views: 12050

Can't drag picture into richview from some application

Dear sir,I test the demo and find one problem: Can not drag picture from some applictation,also not past the picture into richViewEdit. The Drag info is below: ID Name Aspect Medium Size 13 CF_UNICODETEXT Content GlobalMem 2 15 CF_HDROP Content GlobalMem 204 49364 HTML Format Content GlobalMem 801 ...