Hi all,
I've the following problem:
- When I close a TFrame with the following code under Windows, I get an SIG error!
- Under Linux it works perfect.
uses
Classes, SysUtils, FileUtil, Forms, Controls, ExtCtrls, ComCtrls, Buttons,
ActnList, StdCtrls;
type
TModuleFrame = class(TFrame)
Close: TAction;
Actionlist: TActionList;
BitBtn1: TBitBtn;
BitBtn2: TBitBtn;
Menubar: TToolBar;
Toppanel: TPanel;
Leftpanel: TPanel;
procedure BitBtn1Click(Sender: TObject);
private
{ private declarations }
public
{ public declarations }
end;
implementation
{$R *.lfm}
procedure TModuleFrame.BitBtn1Click(Sender: TObject);
begin
self.Free;
end;
end.
Question:
- Is this a knowing bug or is ther something wrong in my code?
- What's the workaround?