BCB将RichEdit光标移到最后一行

int linecount=RichEdit1->Lines->Count;
    RichEdit1-> SelStart=SendMessage(RichEdit1-> Handle,EM_LINEINDEX,linecount,0); 
    RichEdit1-> SelStart=RichEdit1->SelStart+linecount; 

你可能感兴趣的:(BCB将RichEdit光标移到最后一行)