1.

SelectAll 可以实现全选功能

Delphi/Pascal code

edit1.SelectAll;

//

Delphi/Pascal code

RichEdit1.SelStart:=0;
RichEdit1.SelectAll;
05-11 13:05