Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can A Window Be Moved By Pixels?
Message
 
To
02/05/2011 10:38:35
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Miscellaneous
Thread ID:
01509021
Message ID:
01509023
Views:
82
>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

Who also use MOVE WINDOW :o)

Form.Left and Form.Top :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Reply
Map
View

Click here to load this message in the networking platform