FindColor

function FindColor (out x, y: Integer; col, x1, y1, x2, y2: Integer): Boolean;

FindColor returns true if the exact color given (col) is found in the box defined by x1, y1, x2, y2. The point is returned in x and y. It searches from the top left to the bottom right and will stop after matching a point.



Merlijn Wajer 2010-08-27