Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Moving _Screen In MouseMove
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Moving _Screen In MouseMove
Miscellaneous
Thread ID:
01220530
Message ID:
01220530
Views:
64
I have a simulated Titlebar class attached to _Screen.
I have the follwing methods:
* Mouse Down
IF nButton = 1

	IF _Screen.WindowState = 0
		
		_Screen.LockScreen = .T.
	
	ENDIF

ENDIF

* Mouse Move
IF nButton = 1

	IF _Screen.WindowState = 0
		
		_Screen.Move(nXCoord, nYCoord)
	
	ENDIF

ENDIF

* Mouse Up
IF nButton = 1

	IF _Screen.WindowState = 0
		
		_Screen.LockScreen = .F.
	
	ENDIF

ENDIF
The screen moves, but it is really ugly. Anyone know the right way to do this?

Thanks
Everything makes sense in someone's mind
public class SystemCrasher :ICrashable
In addition, an integer field is not for irrational people
Next
Reply
Map
View

Click here to load this message in the networking platform