About Box Component
|Date:||11 January 2014|
This non-visual component encapsulates an About Box. When displayed the About Box appears like this:
or like this:
The component has string properties to display five different pieces of information in the about box. These properties are:
- Title – Contents appear in the window title. The default value is 'About'.
- ProgramName – The name of the program. This is the title of the application. The default value is the same as TApplications's Title property.
- Version – This version number of the program. Optional property – default is nothing.
- Copyright – A copyright message. Optional property – default is nothing.
- Notes – Up to three lines of notes. Optional property – default is nothing.
Alternatively, the about box can display information from a VERSIONINFO resource included in the program. This is accessed via a linked TPJVersionInfo component. The values of the ProgramName, Version, Copyright and Notes properties are ignored and relevant strings from the program's version information is used in their stead.
The dialog's position can be specified relative to the screen, desktop or parent application. The dialog has a single close button whose appearance and position is customised. The About box also displays the program's icon.
Finally, the dialog box's font can be specified using the component's Font property.
The component is fully documented online.
There is also an FAQ page hosted on the DelphiDabbler Wiki.
Users of Delphi version 3 to 7 can also make use of the help file that is included in the download. This help file integrates with the Delphi 3-7 help system.
A demo program is included in the download that can be used to exercise the component.
TPJAboutBoxDlg requires that a DelphiDabbler Version Information Component is installed in order to compile.
Compatibility with earlier versions
TPJAboutBoxDlg is believed to compile on all Win32 versions of Delphi, but the latest version has been tested only on Delphi 7 and Delphi 2007 through to XE3. It is assumed to work on other versions. Delphi 1 support was dropped at v3.5.
The component is compatible with the Delphi 64 bit Windows compiler and can be included in 64 bit VCL packages.
The unit name changed to
PJAbout at release 3. Programs using
earlier releases will need to be modified (or to have an alias set in
Delphi's Project Options) before being recompiled using the new version.
Feedback & Queries
If you find any bugs or want to suggest a new feature please report them using the Issue Tracker.
Click the Create Ticket button to create a ticket then complete the
form giving as much information as possible. Please note:
this issue tracker is shared among all the projects in the DelphiDabbler
Code Library, so please make sure you enter
aboutbox in the
Project edit box. You should also choose
Defect in the
Type drop down list to report a bug or
request a new feature.
If you have created a bug fix or have implemented a new feature please attach a zip file to your ticket that contains your source code.
If you can't find an answer in the documentation then post a message in the discussion group.