PointInRect function
function
PointInRect(Const Rect: TRect; Const P: TPoint): Boolean;
Unit
TeCanvas
Description
Returns True when the XY coordinates are inside the Rect bounds.