SplashAbout: what changed
Revision 1 to 2. Removed lines have a minus sign; added lines have a plus sign.
| Old | New | Line | |
|---|---|---|---|
| 1 | 1 | ## SplashAbout | |
| 2 | 2 | ||
| 3 | 3 | *SplashAbout* is a Lazarus visual component. It installs on the 'Additional' component palette. | |
| 4 | 4 | ||
| 5 | 5 | - Author: minesadorada@charcodelvalle.com | |
| 6 | 6 | - New version: 1.4.3 - June 2014 | |
| 7 | 7 | ||
| 8 | 8 | #### Property page screenshot | |
| 9 | 9 | ||
| 10 | - | ||
| 11 | - | ||
| 12 | - | ||
| 13 | - | ||
| 10 | + |  | |
| 14 | 11 | ||
| 15 | 12 | #### Purpose | |
| 16 | 13 | ||
| 17 | 14 | - 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. | |
| 18 | 15 | - 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. | |
| 19 | 16 | - 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) | |
| 20 | 17 | - All dialogs are constructed 'on-the-fly' and destroyed when closed. Thus few extra resources are added to your application. | |
| 21 | 18 | - For really minimal resource use, the component can optionally use only external files (deployed with your executable) | |
| 22 | 19 | ||
| 23 | 20 | #### Features | |
| 24 | 21 | ||
| 25 | 22 | - Optional shaped splash screen (not Linux) Some built-in shapes or use your own. | |
| 26 | 23 | - Splash screen can be a jpg with transparent mask (see example app included) | |
| 27 | 24 | - Can automatically display application version numbers | |
| 28 | 25 | - Can automatically display LCL/FPC build information | |
| 29 | 26 | - Can display standard GPL,LGPL,MIT or ModifiedGPL licenses with personalised text | |
| 30 | 27 | - Able to display splash until ApplicationIdle event (default is fixed number of seconds) | |
| 31 | 28 | - Able to display scrolling Credits window (Like the Lazarus IDE 'About' dialog) | |
| 32 | 29 | - Optional pre-splash 'Powered By Lazarus' graphic | |
| 33 | 30 | ||
| 34 | 31 | #### How to use in your code | |
| 35 | 32 | ||
| 36 | 33 | - Drop a SplashAbout component onto your main form (From the 'Additional' components palette) | |
| 37 | 34 | - In the Form.Create event | |
| 38 | 35 | ||
| 39 | 36 | ` procedure TForm1.FormCreate(Sender: TObject);`\ | |
| 40 | 37 | ` begin`\ | |
| 41 | 38 | ` SplashAbout1.ShowSplash;`\ | |
| 42 | 39 | ` end;` | |
| 43 | 40 | ||
| 44 | 41 | - In your 'About' button click event | |
| 45 | 42 | ||
| 46 | 43 | ` procedure TForm1.Button1Click(Sender: TObject);`\ | |
| 47 | 44 | ` begin`\ | |
| 48 | 45 | ` SplashAbout1.ShowAbout;`\ | |
| 49 | 46 | ` end; ` | |
| 50 | 47 | ||
| 51 | 48 | - There are lots of properties to tweak - see the example app included in the archive for ideas | |
| 52 | 49 | - See the [[SplashAbout/Advanced Use]] page for detailed information | |
| 53 | 50 | ||
| 54 | 51 | #### License | |
| 55 | 52 | ||
| 56 | 53 | SplashAbout is issued under an LGPL license. Use it as you wish; improve it as you will. (but please give credit) | |
| 57 | 54 | ||
| 58 | 55 | #### Download | |
| 59 | 56 | ||
| 60 | 57 | Click to download: [splashabout zipped files](http://www.charcodelvalle.com/splashabout/splashabout_component.zip) | |
| 61 | 58 | ||
| 62 | 59 | Full source code, readme and example apps (Windows and Linux) are included in the archive. | |
| 63 | 60 | ||
| 64 | 61 | #### Installation | |
| 65 | 62 | ||
| 66 | 63 | - Create a new folder in your lazarus/components folder, and unzip into it | |
| 67 | 64 | - Install via the Lazarus IDE. (Open splashabout.lpk, then compile and install) | |
| 68 | 65 | - The new component will be installed in the 'Additional' component palette. | |
| 69 | 66 | ||
| 70 | 67 | #### Compatability | |
| 71 | 68 | ||
| 72 | 69 | - Lazarus 0.9x/1.x/fpc 2.x | |
| 73 | 70 | - Windows and Linux | |
| 74 | 71 | - Tested on Windows 7 (32-bit and 64-bit builds) and Linux 32-bit | |
| 75 | 72 | ||
| 76 | 73 | #### Version | |
| 77 | 74 | ||
| 78 | 75 | Version 1.4.3 | |
| 79 | 76 | ||
| 80 | 77 | #### Support | |
| 81 | 78 | ||
| 82 | 79 | [Email the author](mailto:minesadorada@charcodelvalle.com) with any queries | |
| 83 | 80 | ||
| 84 | 81 | ### See Also | |
| 85 | 82 | ||
| 86 | 83 | - [[SplashAbout/Advanced Use|All SplashAbout properties explained in detail]] | |
| 87 | 84 | - [[ScrollText|Standalone Scrolling Text component]] | |
| 88 | 85 | - [[Components and Code examples|Components and code examples]] | |
| 89 | 86 | ||
| 90 | 87 | --- | |
| 91 | 88 | *From the Free Pascal wiki, page "SplashAbout", as it stood on 2021-09-09 after a change by Alextpp, out of the wiki's dump of 2024-05-26. Copyright stays with the author who wrote it, according to the old wiki's [[Licensing]] page. If you have concerns about this material, [message the admin](/wiki-contact).* | |
| 92 | 89 | Category: Components |
