Unit 'LCLProc' Package
[Overview][Types][Classes][Procedures and functions][Variables][Index] [#lcl]

OffsetRect

Increments the Top, Left and Bottom, Right rectangle coordinates by the specified amounts.

Declaration

Source position: lclproc.pas line 122

function OffsetRect(

  var ARect: TRect;

  dx: Integer;

  dy: Integer

):Boolean;

Function result

True when the TopLeft coordinates are all positive.