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.

OnGettingRegData event

Project: Window State Components.

Unit: PJWdwState.

Class: TPJRegWdwState

Applies to: ~>5.1

type
  TPJWdwStateRegAccessEvent = procedure(
    const Reg: TRegistry
  ) of object;

property OnGettingRegData: TPJWdwStateRegAccessEvent;

Description

OnGettingRegData allows the user to read additional registry data when the component reads window state information.

The event is triggered just after the window’s state information is read from the registry. The event makes available a reference to the TRegistry object used to read the data. This object can be used to read any additional application defined information from the registry.

For example, the size of some controls that appear on the main form may be read. Such data will have been written using the OnPuttingRegData [~>5.1] event.