Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
From control position to WAIT row
Message
 
À
09/08/1999 11:06:17
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00251449
Message ID:
00251481
Vues:
9
>Thanks, George! I think SROWS() was what I was looking for. I just plumb didn't find it the function in my searches. Interesting it doesn't come up in help when searching on rows. :-(
>
>I was fine getting the sysmetric() and of course the control's absolute position, but coming up with an SROWS() was just a PIA, frankly.
>
>Thanks again! :)

You're welcome.

There is a potential problem that I didn't mention, however. The control's location doesn't include the offset of the titlebar or borders. Further, it can if it's in a container, its position is relative to the container, and the container relative to the form, etc.

I think you have some code of mine that you might want to look at for resolving this type of thing. However, don't forget that the code uses relative position of the Windows desktop, not VFP's.
George

Ubi caritas et amor, deus ibi est
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform