trichview.com

trichview.support




Re: Insert Line and CR


Return to index


Author

Message

Sergey Tkachenko

Posted: 12/08/2004 22:44:58


if rve.InsertBreak(1, rvbsLine,

rve.style.textstyles[rve.curtextstyleno].color) then

  SendMessage(rve.TopLevelEditor.Handle, WM_KEYDOWN, VK_RIGHT, 0);



>

> Hi,

>

> I insert a line using this command:

>

> rve.InsertBreak(1, rvbsLine,

rve.style.textstyles[rve.curtextstyleno].color);

>

> However, the caret stays at the end of the line, like this:

>

> ____________________________________ �

>

> I want to add a CR so that the caret is on the line below ready to

continue

> typing. Like this

> _____________________________________

> �

>

> I tried inserting a #13 afterwards, but then the caret dropped down an

extra

> line, like this:

> ______________________________________

>

> �

>

> Thanks for your help.





Powered by ABC Amber Outlook Express Converter