BCB将RichEdit光标移到最后一行

时间:2022-02-15 19:43:58
int linecount=RichEdit1->Lines->Count;
    RichEdit1-> SelStart=SendMessage(RichEdit1-> Handle,EM_LINEINDEX,linecount,0); 
    RichEdit1-> SelStart=RichEdit1->SelStart+linecount;