int linecount=RichEdit1->Lines->Count;
RichEdit1-> SelStart=SendMessage(RichEdit1-> Handle,EM_LINEINDEX,linecount,);
RichEdit1-> SelStart=RichEdit1->SelStart+linecount;
04-23 13:30