Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can A Window Be Moved By Pixels?
Message
De
03/05/2011 11:10:04
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows 7
Divers
Thread ID:
01509021
Message ID:
01509228
Vues:
47
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform