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.

OnPuttingRegData event

Project: Window State Components.

Unit: PJWdwState.

Class: TPJRegWdwState

Applies to: ~>5.1

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

property OnPuttingRegData: TPJWdwStateRegAccessEvent;

Description

OnPuttingRegData allows user to write additional registry data when the component writes window state information.

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

For example, the size of some controls that appear on the main form may be written. Such data can be read again using the OnGettingRegData [~>5.1] event.