Sorry about that RVK, here's the line with the Laz error underneath from previous code:
Action:= caFree;
Error: Incompatible type for arg no. 1: Got "TCloseAction", expected "TBasicAction"
Hint: Found declaration: SetAction(TBasicAction);
Also, copied this from an app I wrote long time ago in Delphi. Actually, RFK, your reply made me re-look at the my old Delphi code. The old Delphi Procedure was this:
procedure TExecuTracksMainFm.FormClose(Sender: TObject; var Action: TCloseAction);
My Laz Procedure:
procedure TFrmCntksMain.FormClose(Sender: TObject; var CloseAction: TCloseAction);
So, when you replied, "Shouldn't it be CloseAction := caFree?"
You are exactly right, I wasn't paying attention to the way Delphi constructed the FormClose procedure statement vs. Laz's FormClose procedure statement, Action: TCloseAction vs. CloseAction: TCloseAction!!!!
Thanks also for the correction in time, too long ago when I was programming in Delphi 5, 6, then 7 to remember the years.
Correction: I was programming with Turbo Pascal and Clipper back in the 1980's and Delphi in the 1990's.