Hi all,
In an app I added an aboutbox and in my main-unit a uses clause like:
uses AboutBox;
From a menuitem: "About" the following code is supposed to show
the AboutBox.
procedure TfrmPushServer.AboutClick(Sender: TObject);
begin
frmAboutBox.ShowModal;
end;
But, clicking the menuitem the app stops with:
Acess violation
Press OK to ignore and risk data corruption
Press Cancel to kill program.
Guessing that the aboutbox is unknown to the app,
but doing like above is the way I'm used to specify secondary forms in Delphi.
How am I supposed to achieve what I want?
Second question: Is there some setting to avoid lazarus to start
with an empty project?
Regards
Staffan