lazarus-ccr/components/splashabout
gbamber 13adca65b3 For OPM
git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7319 8e941d3f-bd1b-0410-a28a-d453659cc2b4
2020-01-25 13:12:59 +00:00
..
exampleapp With LCLPlatformDef fix 2020-01-24 15:11:39 +00:00
updates For OPM 2020-01-25 13:12:59 +00:00
license.lrs With LCLPlatformDef fix 2020-01-24 15:11:39 +00:00
masks.lrs With LCLPlatformDef fix 2020-01-24 15:11:39 +00:00
readme.txt With LCLPlatformDef fix 2020-01-24 15:11:39 +00:00
splashabout_ico.lrs With LCLPlatformDef fix 2020-01-24 15:11:39 +00:00
splashabout.lpk git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@7317 8e941d3f-bd1b-0410-a28a-d453659cc2b4 2020-01-24 17:12:53 +00:00
splashabout.pas With LCLPlatformDef fix 2020-01-24 15:11:39 +00:00
usplashabout.pas With LCLPlatformDef fix 2020-01-24 15:11:39 +00:00
uversion.pas With LCLPlatformDef fix 2020-01-24 15:11:39 +00:00

SplashAbout component for Lazarus
minesadorada@charcodelvalle.com
============================

Installation
========
Make a new folder 'splashabout' in your lazarus/components folder
Copy the contents of the zip file into it
In Lazarus, choose the menu 'Package/Install/Uninstall Packages'
From the right-hand column, select 'splashabout 1.0' and click 'Install selection'

Lazarus will ask you whether to 'recompile the IDE'  - answer 'yes'

When all is done, click the 'Additional' component palette to see the SplashAbout component.

Use
===
Add the component to your form (SplashAbout1)

To show a splash screen:
In the FormCreate event, use this code:
procedure TForm1.FormCreate(Sender: TObject);
begin
  SplashAbout1.ShowSplash;
end; 

To show the 'About' dialog, use this code:
procedure TForm1.Button1Click(Sender: TObject);
begin
  SplashAbout1.ShowAbout;
end;    

Tweaking
=======
See the 'testapp' example project to experiment