Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Objtoclient() question
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00367390
Message ID:
00367489
Vues:
26
Ron,

Are you setting some odd things about the PageFrame? like making it tabless, multi rows of tabs? Changing anything about it at runtime?

Using VFP6/SP3 putting a grid in page1 of a pageframe, and a container in the form, on top of them both. I aligned them so the tops where the same, both in the designer and according to the location display on the statusbar. At runtime the objtoclient(,1) of them both were the same.

>I have a grid in a page frame on a form. At runtime the top of the grid is 56 (relative to the top of the frame). I have a container that sits on top of the page frame not in. At run time the container top is 94 and I understand that is relative to the top of the form not the page frame.
>
>At design time I turn on SHOW POSITION and set the top of both objects TOP to be equal - according to the output in the status bar of the design surface - which happens to be 94.
>
>At Runtime when I interogate both objects top using ObjToClient() the grid object returns 90 and the container returns 94. I expect 94 on the grid object or at least both objects to be equal. What gives.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform