Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object position to the SCREEN.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Object position to the SCREEN.
Divers
Thread ID:
00304789
Message ID:
00304789
Vues:
43
I wrote a small form to accept date & time via a calendar control & spinners.

I want to be able to "do form frmTimeDate with oObject, n"

where n is a # representing where the form should appear (top, left, bottom, right) of the object.

oObject.left and oObject.top are in releation to the FORM they apper on; but a forms .left and .top are in relation to the screen.

How can I get object's position in relation to the screen?

The only thing I figured out was to get the ojbect's form's LEFT/TOP properties and add that to the objects left/top properites.

Is that the best way?

Thanks
-josh
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform