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