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.

OnReadData event

Project: Window State Components.

Unit: PJWdwState.

Class: TPJUserWdwState

Applies to: ~>5.0

  TPJWdwStateReadData = procedure(
    Sender: TObject; var Data: TPJWdwStateData
  ) of object;

property OnReadData: TPJWdwStateReadData;


OnReadData is triggered when the component is about to restore the window’s size, position and state and needs to retrieve saved window state data from persistent storage.

The user must handle this event by reading the required data from storage and storing the data in the fields of the Data parameter, which is a TPJWdwStateData record.

See Also