Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Resize method and windowstate
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
Visual FoxPro
Application:
Desktop
Divers
Thread ID:
01443332
Message ID:
01443343
Vues:
102
This message has been marked as the solution to the initial question of the thread.
>No I tried that before but in the debugger you can see This.Height as the old value.
>Now I am doing
THIS.Width = SYSMETRIC(21)
>THIS.Height = SYSMETRIC(22)
>and that works, but it's kind of awkward still, because if you then press the Restore button it restores it to the newly "maximized" width and height values. So in optimal form you should not touch the width and height properties.

Are you sure you need to call Resize method from the Init and calling it from the Activate is too late?
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform