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.