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.

OnSaveData event

Project: Window State Components.

Unit: PJWdwState.

Class: TPJUserWdwState

Applies to: ~>5.0

  TPJWdwStateSaveData = procedure(
    Sender: TObject; const Data: TPJWdwStateData
  ) of object;

property OnSaveData: TPJWdwStateSaveData;


OnSaveData is triggered when the component is saving the window’s size, position and state and needs to store the information in persistent storage.

The user must handle this event by writing the data passed in the fields of the Data parameter to persistent storage. The Data parameter is a record of type TPJWdwStateData.

See Also