Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>Hello!
>
> I am thinking there is a simple answer to this question. How does the monitor display size affect the form layout? Is there a way to set it so that when the exe file runs that the form layout takes the whole monitor space, instead of adjusting to the monitor settings of the individual computer?
>
>Thanks,
>
>Dena
I don't think there is an easy answer, since the form at run time will use the Height and Width properties. So what you set them to be at design time, that is what is going to be used at run time. Even if you can find out what resolution is the system running when the form is instantiated, the form may be resized to fit the screen, but you may need to do the same thing with every single control on the form. Not an easy thing to do.
I hope this helps.
Précédent
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