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.

UseOwnerAsParent property

Project: About Box Component

Unit: PJAbout.

Class: TPJAboutBoxDlg

Applies to: ~>3.6

property UseOwnerAsParent: Boolean;

Description

When true this property sets the dialog box’s parent to be the window handle of the control that owns the dialog box, providing the owner has a window handle.

The property is provided for when the application’s main form, rather than the hidden application window is displayed in the Windows task bar. If this property is not set true it may be possible, depending on the compiler used, for the main window to be brought to the front by clicking its task bar icon, hiding the dialog box and hence freezing the program.

The default value is False.