Mike Sue-Ping
Cambridge, Ontario, Canada
Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Show form maximized problem
I have a VFP8SP1 form that I'd like to display initially maximized. I set its WindowState property to 2 (Maximized) and when the form shows, it is as expected - Maximized. The problem that I am experiencing is that there are controls that should be sized accordingly but they do not.
I have code in the form's resize event that works the way I need. If the form is initially displayed as Normal (WindowState = 0) and I click the Maximize button all is well...the controls in the form resize as expected.
It just does not work if the form is initially shown as maximized!
Anyone have any idea what I'm doing wrong?
TIA,
Mike
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