Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Form.Top - do I have it right?
I wanted the bottom edges of all my forms to line up so the nav buttons at the bottom of each one would also "line up". The .Height of each form was different. I wanted Form.Height + Form.Top = 401. I would change the value of .Top in design mode and find it changed back to 0. Why is that? Is it because the _SCREEN container doesn't exist in design time?
I solved it by making a new form property and putting THIS.Top = THIS.nProperty in the form.Init. Is that how form.Top is usually set?
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