Quote:
Originally Posted by PrinceGupta2000
i mean by the scrolling of form when mouse hovers on the tiles.
|
Create a function WPIFormMouseMove with condition that if MouseIsMoving then set the Tiles position = Tiles Position - X ///Cursor's X coordinate

Pretty easy stuff if you are able to use these lines of WPI:
Code:
{$EXTERNALSYM MOUSEEVENTF_MOVE}
MOUSEEVENTF_MOVE = $0001; { mouse move }
{$EXTERNALSYM MOUSEEVENTF_ABSOLUTE}
MOUSEEVENTF_ABSOLUTE = $8000; { absolute move }