Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can A Window Be Moved By Pixels?
Message
From
03/05/2011 11:10:04
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:
01509228
Views:
46
Thanks for the code Sergey. It turns out that I didn't need the MOVE WINDOW (it was redundant), but, having your two functions could come in handy in the future.

Regards,
Mike


>Check http://www.berezniker.com/content/pages/visual-foxpro/pixels-and-foxels
>
>>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
Previous
Reply
Map
View

Click here to load this message in the networking platform