trichview.com

trichview.support




Re: A Question About Example"emotion icons"


Return to index


Author

Message

Jason Lee

Posted: 02/06/2005 4:36:50


Sergey Tkachenko:

    First,Thank U for answering my question.

    Then,due to my first question about the example "emotion icons",I felt

confused was how to perform

the replacement of icons codes in text that was copied to a TRichViewEdit.

    In the demo,when text is copying from plain text editor or

TRichViewEdit,it shows different approach

to replace the icons codes.However,the text is not first copied to the

clipboard.It occurs in the TButton.Onclick

procedure and is added to the TRichView by AddNL function.My question is

when the text is copied first to clipboard

and the add to the TRichViewEdit,how to perform the replacement.I have tried

to perform it in TRichViewEdit.onchange and TRichViewEdit.onpaste,but could

not succeed.


"Sergey Tkachenko" <svt@trichview.com> 写入消息新闻

:420352e2@support.torry.net...

> > I have a question with the example "emotion icons".

> > When I tried to copied text to TRichViewEdit but not TRichView,it seemed

> > hard to replace icons codes in plain text.

> > I tried to handle in TRichViewEdit.onchange and

TRichViewEdit.onpaste,but

> > could not succeed.

> > Please help a way to resolve this problem.

>

> This demo includes several subdemos showing different methods for

detecting

> emoticons?

> Which one do you refer to?

>

> >

> > Also,with the example "AutoComplete",if has more suggestions,use

TListbox

> is

> > more fit than Tpopupmenu,but how to handle it?

>

> Here it is: http://www.trichview.com/support/files/autocomplete2.zip

> But I do not think it's good: the list box (shown in a separate form)

takes

> the input focus. So, just like as in the menu example, you cannot type in

> the editor while it's displayed. And the main form is deactivated while it

> is displayed.

>

>





Powered by ABC Amber Outlook Express Converter