Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
PageFrame looks ok in designer but expands height at run
Message
De
27/01/2006 04:59:26
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 6 SP5
Divers
Thread ID:
01090421
Message ID:
01090828
Vues:
7
Bhavbhuti

For what it is worth. I had a similar problem with grids on a pageframe. When I click on the grid the pageframe moves up. I resolved it by the following in the init.
thisform.autocenter = .t.
Not sure if this is the same problem as you have but the pageframe would shift upward. But it would only do it if I had a pageframe with a grid on it.

Gaylen


>Hi Paul
>
>>Unfortunately, if you have .TabStretch set to 0 (Multiple Rows) you cannot force it to use any specific number of rows. If your captions are dynamic at all, then VFP may change the number of rows of tabs dynamically at runtime.
>
>Yikes, I had to put the following code in the Form.Refresh()
>
THIS.pgf.HEIGHT = THIS.HEIGHT - THIS.pgf.TOP - 23
>
>Any better option? I have tried Form.init(), form.load() and form.acvtivate() but the thing stretches again and again.
>
>Please advise.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform