GetClientDimensions

From SCAR Divi Manual
Jump to: navigation, search

Definition

procedure GetClientDimensions(out Width, Height: Integer);

Availability

SCAR Divi 3.00 > 3.34

Description

Returns the dimensions of the client window that is currently selected in Width and Height.

Example

var
  w, h: Integer;

begin
  GetClientDimensions(w, h);
  WriteLn(IntToStr(w) + 'x' + IntToStr(h));
end.

See Also