Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MOUSE command and Pix2Fox
Message
From
26/01/2009 09:32:35
Jay Johengen
Altamahaw-Ossipee, North Carolina, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
MOUSE command and Pix2Fox
Miscellaneous
Thread ID:
01377027
Message ID:
01377027
Views:
57
In the code below, the LEFT position is working great, but the TOP is not. It is lower than it should be.
IF (nKeyCode >= 48 AND nKeyCode <= 57) OR (nKeyCode >= 65 AND nKeyCode <= 90) OR (nKeyCode >= 97 AND nKeyCode <= 122)

	m.lnPosY = _SCREEN.Top + THISFORM.Top + THIS.Top
	m.lnPosX = _SCREEN.Left + THISFORM.Left + THIS.Left

	MOUSE AT lnPosY,lnPosX

ENDIF

DODEFAULT()
Next
Reply
Map
View

Click here to load this message in the networking platform