Difference between revisions of "SplashAbout"

From Lazarus wiki
Jump to navigationJump to search
m (Modified license to LGPL)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
== SplashAbout Component ==
+
== SplashAbout ==
=== by minesadorada@charcodelvalle.com ===
 
  
This is a Lazarus component that installs in the 'Additional' tab.
+
''SplashAbout'' is a Lazarus visual component. It installs on the 'Additional' component palette.
 +
 
 +
* Author: minesadorada@charcodelvalle.com
 +
* New version: 1.4.3 - June 2014
  
 
==== Property page screenshot ====
 
==== Property page screenshot ====
[[File:splashabout_properties.png]]
+
[[File:splashabout_properties143.png]]
  
 
==== Purpose ====
 
==== Purpose ====
If you are fed up of coding splash and about dialogs for minor apps - this component is the easy way to give your apps a good appearance with minimum effort and easy individualisation.
+
* If you are fed up of coding splash and about dialogs for minor apps - this component is the easy way to give your apps a good appearance with minimum effort and easy individualisation.
 
+
** When starting a new application, just drop the component onto your form, and in the Form.Create() method, call SplashAbout1.ShowSplash.  This will display a splash dialog.  Setting a few easy properties will personalise your splash screen.
When starting a new application, just drop the component onto your form, and in the Form.Create() method, call SplashAbout1.ShowSplash.  This will display a splash dialog.  Setting a few easy properties will personalise your splash screen.
+
** In your Help/About handler, call SplashAbout1.ShowAbout.  This will display an 'About' dialog for your application. The 'About' dialog can show buttons to display a 'Licence' dialog and/or a 'Credits' dialog (with scrolling text)
 
+
* All dialogs are constructed 'on-the-fly' and destroyed when closed.  Thus few extra resources are added to your application.
In your Help/About handler, call SplashAbout1.ShowAbout.  This will display an 'About' dialog for your application.
+
* For really minimal resource use, the component can optionally use only external files (deployed with your executable)
 
 
In both cases, the dialogs are constructed 'on-the-fly' and destroyed when closed.  Thus few extra resources are added to your application.
 
  
 
==== Features ====
 
==== Features ====
 
* Optional shaped splash screen (not Linux)  Some built-in shapes or use your own.
 
* Optional shaped splash screen (not Linux)  Some built-in shapes or use your own.
* New V1.3: Splash screen can be a jpg with transparent mask (see example app included)
+
* Splash screen can be a jpg with transparent mask (see example app included)
 
* Can automatically display application version numbers
 
* Can automatically display application version numbers
 
* Can automatically display LCL/FPC build information
 
* Can automatically display LCL/FPC build information
 
* Can display standard GPL,LGPL,MIT or ModifiedGPL licenses with personalised text
 
* Can display standard GPL,LGPL,MIT or ModifiedGPL licenses with personalised text
 
* Able to display splash until ApplicationIdle event (default is fixed number of seconds)
 
* Able to display splash until ApplicationIdle event (default is fixed number of seconds)
 +
* Able to display scrolling Credits window (Like the Lazarus IDE 'About' dialog)
 +
* Optional pre-splash 'Powered By Lazarus' graphic
  
 
==== How to use in your code ====
 
==== How to use in your code ====
Line 36: Line 38:
 
         SplashAbout1.ShowAbout;
 
         SplashAbout1.ShowAbout;
 
     end;  
 
     end;  
* There are lots of properties to tweak - see the example app included in the archive for ideas.
+
* There are lots of properties to tweak - see the example app included in the archive for ideas
 +
* See the [[SplashAbout/Advanced_Use]] page for detailed information
  
 
==== License ====
 
==== License ====
SplashAbout is issued under an LGPL license. Use it as you wish; improve it as you will. (but always give credit)
+
SplashAbout is issued under an LGPL license. Use it as you wish; improve it as you will. (but please give credit)
  
 
==== Download ====
 
==== Download ====
Click to download: [http://www.charcodelvalle.com/splashabout//splashabout_component.zip splashabout zipped files]
+
Click to download: [http://www.charcodelvalle.com/splashabout/splashabout_component.zip splashabout zipped files]
Full source code, readme and example apps (Windows and Linux) included in archive.
+
 
 +
Full source code, readme and example apps (Windows and Linux) are included in the archive.
  
 
==== Installation ====
 
==== Installation ====
Line 56: Line 60:
  
 
==== Version ====
 
==== Version ====
Version 1.3
+
Version 1.4.3
  
 
==== Support ====
 
==== Support ====
 
[mailto:minesadorada@charcodelvalle.com Email the author] with any queries
 
[mailto:minesadorada@charcodelvalle.com Email the author] with any queries
 +
 +
===See Also===
 +
* [[SplashAbout/Advanced_Use|All SplashAbout properties explained in detail]]
 +
* [[ScrollText|Standalone Scrolling Text component]]
 +
* [[Components_and_Code_examples|Components and code examples]]
  
 
[[Category:Components]]
 
[[Category:Components]]

Latest revision as of 01:22, 10 September 2021

SplashAbout

SplashAbout is a Lazarus visual component. It installs on the 'Additional' component palette.

  • Author: minesadorada@charcodelvalle.com
  • New version: 1.4.3 - June 2014

Property page screenshot

splashabout properties143.png

Purpose

  • If you are fed up of coding splash and about dialogs for minor apps - this component is the easy way to give your apps a good appearance with minimum effort and easy individualisation.
    • When starting a new application, just drop the component onto your form, and in the Form.Create() method, call SplashAbout1.ShowSplash. This will display a splash dialog. Setting a few easy properties will personalise your splash screen.
    • In your Help/About handler, call SplashAbout1.ShowAbout. This will display an 'About' dialog for your application. The 'About' dialog can show buttons to display a 'Licence' dialog and/or a 'Credits' dialog (with scrolling text)
  • All dialogs are constructed 'on-the-fly' and destroyed when closed. Thus few extra resources are added to your application.
  • For really minimal resource use, the component can optionally use only external files (deployed with your executable)

Features

  • Optional shaped splash screen (not Linux) Some built-in shapes or use your own.
  • Splash screen can be a jpg with transparent mask (see example app included)
  • Can automatically display application version numbers
  • Can automatically display LCL/FPC build information
  • Can display standard GPL,LGPL,MIT or ModifiedGPL licenses with personalised text
  • Able to display splash until ApplicationIdle event (default is fixed number of seconds)
  • Able to display scrolling Credits window (Like the Lazarus IDE 'About' dialog)
  • Optional pre-splash 'Powered By Lazarus' graphic

How to use in your code

  • Drop a SplashAbout component onto your main form (From the 'Additional' components palette)
  • In the Form.Create event
   procedure TForm1.FormCreate(Sender: TObject);
   begin
       SplashAbout1.ShowSplash;
   end;
  • In your 'About' button click event
   procedure TForm1.Button1Click(Sender: TObject);
   begin
       SplashAbout1.ShowAbout;
   end; 
  • There are lots of properties to tweak - see the example app included in the archive for ideas
  • See the SplashAbout/Advanced_Use page for detailed information

License

SplashAbout is issued under an LGPL license. Use it as you wish; improve it as you will. (but please give credit)

Download

Click to download: splashabout zipped files

Full source code, readme and example apps (Windows and Linux) are included in the archive.

Installation

  • Create a new folder in your lazarus/components folder, and unzip into it
  • Install via the Lazarus IDE. (Open splashabout.lpk, then compile and install)
  • The new component will be installed in the 'Additional' component palette.

Compatability

  • Lazarus 0.9x/1.x/fpc 2.x
  • Windows and Linux
  • Tested on Windows 7 (32-bit and 64-bit builds) and Linux 32-bit

Version

Version 1.4.3

Support

Email the author with any queries

See Also