Difference between revisions of "GetClientDimensions"

From SCAR Divi Manual
Jump to: navigation, search
(Created page with "==Definition== <source lang="scar" lines="false"> procedure GetClientDimensions(out Width, Height: Integer); </source> ==Availability== SCAR Divi 3.00 > Current ==Description==...")
(No difference)

Revision as of 21:50, 27 June 2011

Definition

procedure GetClientDimensions(out Width, Height: Integer);

Availability

SCAR Divi 3.00 > Current

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.