Skip to content

Latest commit

 

History

History
26 lines (16 loc) · 946 Bytes

TPJRegWdwState-OnGettingRegData.md

File metadata and controls

26 lines (16 loc) · 946 Bytes

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.