Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
THISFORM.WindowState = 2 don't change thisform.height?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01249691
Message ID:
01249783
Vues:
16
Hi Eric,

>When does thisform.width and height get updated if not when changing windowstate ?

VFP doesn't update sizes during the Init process. Aside from Height/Width not reflecting the actual size, this also means that the Resize event is not triggered. That's relevant if you arrange controls on the form in this method. For labels that have AutoSize set to .T. the Width and Height property is also only updated when the form becomes visible.
--
Christof
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform