View Single Post
  #363  
Old 25-08-2016, 03:42
-PUNISHER- -PUNISHER- is offline
Registered User
 
Join Date: Aug 2016
Location: UK
Posts: 4
Thanks: 4
Thanked 2 Times in 1 Post
-PUNISHER- is on a distinguished road
Quote:
Originally Posted by PrinceGupta2000 View Post
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 }
Reply With Quote