unit AboutUnit; {$mode objfpc}{$H+} interface uses Classes, SysUtils, LResources, Forms, Controls, Graphics, Dialogs, Buttons, ExtCtrls, StdCtrls, Imaging, DemoUtils; type { TAboutForm } TAboutForm = class(TForm) BitBtn1: TBitBtn; Image: TImage; Image2: TImage; labImaging: TLabel; ImLabel1: TLabel; LabVersion: TLabel; Label1: TLabel; procedure FormShow(Sender: TObject); private { private declarations } public { public declarations } end; var AboutForm: TAboutForm; implementation { TAboutForm } procedure TAboutForm.FormShow(Sender: TObject); begin LabVersion.Caption := 'version ' + Imaging.GetVersionStr; if Image.Picture.Graphic = nil then begin Image.Picture.LoadFromFile(GetDataDir + PathDelim + 'LogoAlpha.png'); end; end; initialization {$I aboutunit.lrs} end.