Create method

Project: Window State Components.

Unit: PJWdwState.

Class: TPJCustomWdwState

Applies to: ~>5.0

constructor Create(AOwner: TComponent);

Description

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.