GetClientDimensions

From SCAR Divi Manual
Revision as of 21:50, 27 June 2011 by Freddy (talk | contribs) (Created page with "==Definition== <source lang="scar" lines="false"> procedure GetClientDimensions(out Width, Height: Integer); </source> ==Availability== SCAR Divi 3.00 > Current ==Description==...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.