OnSaveData event

Project: Window State Components.

Unit: PJWdwState.

Class: TPJUserWdwState

Applies to: ~>5.0

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

property OnSaveData: TPJWdwStateSaveData;

Description

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