trichview.com

trichview.support




Re: possible bug, Search/Replace question


Return to index


Author

Message

shmp

Posted: 04/30/2002 13:53:41


I believe this may help. Even if you do try to paste as normal text, RVEdit

will assume the current rvstyle and apply it. I wrote a procedure for the

Ctrl+V to detect existing rvstyle. If the style is none existent, a new

style will be added to rvstyle. To force normal text, select the normal-text

style in rvstyle and apply it then use rvedit.InsertText(YourText, False).

This will insert normal text.

Do not trust the rvoAutoCopyText if you also decide to paste from other word

processor or the character map.

Regards.

Henry


>

> Menu shortcut was indeed the reason for different behavior of Ctrl+V and

> Shift+Insert.

>

> But I still believe that if:

> a) I define RichViewEdit.Options:=[rvoAutoCopyText];

> b) In OnPaste event handler I have DoDefault := True;

> that the text should be pasted as the text and not as RTF or RVF when

using

> the Ctrl+V and Shift+Insert (This is the way I understand the help for

Paste

> procedure, but I could be wrong, of course).

>






Powered by ABC Amber Outlook Express Converter