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.
Project: Window State Components.
Unit: PJWdwState.
Applies to: ~>5.0
type
TPJWdwStateData = record
Left: Integer;
Top: Integer;
Width: Integer;
Height: Integer;
State: Integer;
end;
This record type collects together the window size, position and state data that must be saved to and read from persistent storage by the OnReadData and OnSaveData events of the TPJUserWdwState component.
The fields are as follows:
Field | Description |
---|---|
Left | Position of left hand side of window in screen coordinates. |
Top | Position of top of window in screen coordinates. |
Width | Width of window in pixels. |
Height | Height of window in pixels. |
State | State of window. This is the ordinal value of a TWindowState value, i.e. wsMinimized , wsMaximized or wsNormal . |