Welcome to the new DelphiDabbler Code Library Documentation.

This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.

Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.

VersionInfo property

Project: About Box Component

Unit: PJAbout.

Class: TPJAboutBoxDlg

Applies to: ~>3.6

property VersionInfo: TPJVersionInfo;


This property allows information from a string information block in a program file’s VERSIONINFO resource to be displayed in the dialog box.

To enable this to happen a TPJVersionInfo component must be placed on the form and this property must reference it. The TPJVersionInfo component’s FileName property must be set to the name of the executable file from which version information is to be extracted, or set to ‘’ to get the version information of the parent executable file.

The following table shows which version information string values are used, along with the properties whose values they replace:

VERSIONINFO string Replaces property
ProductName ProgramName
ProductVersion Version
LegalCopyright Copyright
Comments Notes

If any of these string values are not present in the version information nothing is displayed in their place.

If the VersionInfo property is set to nil then the information displayed in the dialog box is taken from the string properties listed in the table above.

This property has no effect on the Title property.