Hi, I have a problem again, In the code below, Button1 triggers the OnChange event correctly, but Button2 doesn't trigger the OnChange event, I think it's a Bug.
procedure TForm1.Memo1Change(Sender: TObject);
begin
writeln(Now);
end;
procedure TForm1.Button1Click(Sender: TObject);
begin
Memo1.SelStart := 2;
Memo1.SelLength := 3;
Memo1.ClearSelection;
end;
procedure TForm1.Button2Click(Sender: TObject);
begin
Memo1.SelectAll;
Memo1.ClearSelection;
end;
Lazarus 1.8.0 RC4 GTK2
OS: Linux Mint MATE 64-bit