unit AboutUnit; {$mode objfpc}{$H+} interface uses Classes, SysUtils, FileUtil, LResources, Forms, Controls, Graphics, Dialogs, StdCtrls, ExtCtrls; type { TAboutBox } TAboutBox = class(TForm) Label1: TLabel; Label2: TLabel; Label3: TLabel; OKButton: TButton; Panel1: TPanel; procedure OKButtonClick(Sender: TObject); private { Private declarations } public { Public declarations } end; var AboutBox: TAboutBox; implementation procedure TAboutBox.OKButtonClick(Sender: TObject); begin AboutBox.Hide; end; initialization {$I AboutUnit.lrs} end.