trichview.com

trichview.support




line break after InserBreak


Return to index


Author

Message

Benedikt Weber

Posted: 06/17/2002 14:20:01


I would like to insert a break and move the cursor to the next line.


    RichViewEdit1->InsertText("text");

    RichViewEdit1->InsertBreak(1, rvbsLine, clNone);


None of the following: is doing what I want:


RichViewEdit1->InsertText("");    // cursor after break

RichViewEdit1->InsertText(" ");    // cursor on next line, there is a blank

RichViewEdit1->InsertText("\n");   // an extra line is inserted



Benedikt





Powered by ABC Amber Outlook Express Converter