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.

Create method

Project: Window State Components.

Unit: PJWdwState.

Class: TPJCustomWdwState

Applies to: ~>5.0

constructor Create(AOwner: TComponent);


This class constructor permits only one instance of a component derived from TPJCustomWdwState to be placed on a form at any one time. This restriction is enforced since it makes no sense to have more that one component saving and restoring the window’s size, position and state.

Note: This constructor cannot be used to create components dynamically at run-time and therefore must never be called directly from source code. Use the CreateStandAlone constructor instead.