MouseInBox

From SCAR Divi Manual
Revision as of 10:28, 26 June 2011 by Freddy (talk | contribs) (Created page with "==Definition== <func>function MouseInBox(const Box: TBox): Boolean;</func> ==Availability== SCAR Divi 3.25 > Current ==Description== Returns True if the cursor position rel...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Definition

<func>function MouseInBox(const Box: TBox): Boolean;</func>

Availability

SCAR Divi 3.25 > Current

Description

Returns True if the cursor position relative to the client is inside of a box specified by the TBox Box.

Example

begin
  WriteLn(MouseInBox(IntToBox(0, 0, 500, 500)));
end.

See Also