Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Getting correct maximized height & width before show()
I have an activeDoc application with forms set at design to WindowState=2 (maximized). When instantiating the forms, I size controls based on the height and width of the form. However, the maximized height and width of the form are not available until after the show() event, so my controls don't resize properly. Has anyone tackled this problem, and do you have a clean resolution?
Thanks.
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement