[Lazarus] Doing work in FormActivate

Gabor Boros gaborboros at yahoo.com
Wed Jan 14 08:25:02 CET 2009


Hi,

A simple test case:

procedure TForm1.FormActivate(Sender: TObject);
begin
   Caption:=FormatDateTime('hh:mm:ss',Now);
end;

With Delphi the form's caption show the first activation time and with 
Lazarus the caption changed when switch to other application and switch 
back etc.. I don't say Delphi is correct but after working many years 
with Delphi this thing is strange for me.

Gabor


Doug Chamberlin írta:
> You have confused me here. What did you mean by this?
> 
> As far as I can tell this is exactly how Delphi performs under Windows 
> and exactly how it should perform. What am I missing?




More information about the Lazarus mailing list