当前位置 : 主页 > 手机开发 > harmonyos >

BCB将RichEdit光标移到最后一行

来源:互联网 收集:自由互联 发布时间:2023-10-08
int linecount=RichEdit1-Lines-Count; RichEdit1- SelStart=SendMessage(RichEdit1- Handle,EM_LINEINDEX,linecount,0); RichEdit1- SelStart=RichEdit1-SelStart+linecount;


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



上一篇:程序员如何提高自己?
下一篇:没有了
网友评论