Thema: FreePascal Formular neu createn?

Einzelnen Beitrag anzeigen

Maurooon

Registriert seit: 7. Dez 2016
70 Beiträge
 
#28

AW: Formular neu createn?

  Alt 20. Apr 2017, 16:13
ich bekomme folgenden Fehler:
Error: Incompatible type for arg no. 1: Got "TCloseAction", expected "TBasicAction"
Zeig mal deinen Code.
Code:
procedure TForm2.FormClose(Sender: TObject; var CloseAction: TCloseAction);
begin
  Action := caFree;
end;
"One of the basic rules of the universe is that nothing is perfect. Perfection simply doesn't exist... Without imperfection, neither you nor I would exist." - Stephen Hawking
  Mit Zitat antworten Zitat