View Single Post
 
Old 01-08-2017, 06:07 PM
Cerian Knight's Avatar
Cerian Knight Cerian Knight is offline
Polymath (in disciplina)

Super Moderator
* Expert *
 
Join Date: May 2004
Location: Michigan
Posts: 4,169
Default

The 'Else' clause always fires while the mouse button is not pressed to update the current position. Once the button is pressed, lx and ly still hold the last known unpressed coordinates so the differential coordinates can be calculated and applied dynamically.

Debug.print all the values (including Picture1.Top and .Left, as well) in the IDE so you can watch dynamically.
__________________
I got all the answers wrong on the GLAT, apparently even #9 (where I put a period in the middle of the box and labeled it 'singularity ripe for rapid inflation').
Reply With Quote