Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
procedure TForm1.Button1Click(Sender: TObject);
begin
RichEdit1.SelAttributes.Color := clRed;
RichEdit1.Lines.Add( 'This is red');
RichEdit1.SelAttributes.Color := clBlue;
RichEdit1.Lines.Add( 'This is blue');
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
with RichEdit1 do begin
Lines.Text := 'The quick brown fox jumps right over the lazy dog';
SelStart := Pos ( 'brown', Lines.Text ) - 1;
SelLength := Length( 'brown' );
SelAttributes.Color := clAqua;
end;
end;