Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can A Window Be Moved By Pixels?
Message
From
02/05/2011 10:38:35
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Can A Window Be Moved By Pixels?
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01509021
Message ID:
01509021
Views:
134
I'm trying to move a window using the command "MOVE WINDOW myWindowname TO 300, 400" thinking that the x and y pixel values are valid. VFP does not complain when that statement executes, however, myWindowname is not shown because it is off the screen at Row 300 and Col 400 (I think). If I do the same command with 10,10, myWindowname is visible at what seems to be Row 10, Col 10.

Does anyone know how I can move a window to a new location using pixels? I was really shocked that this command only seems to take row and col values. Seriously, who used row and col once Visual FoxPro appeared. Row and Col was DOS based no?

Any help is greatly appreciated.

Mike
Next
Reply
Map
View

Click here to load this message in the networking platform