Information générale
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Hi Naomi.
>I have a parent form class with a grid and textboxes under the grid (for totals). I have several form classes derived from this original class. On my parent form all textboxes have 22 as their height (default height from the framework textbox class). On my derived classes the first textbox has the same height (22) and the rest of the textboxes have height 21, though then I go to property sheet and check for undefault properties, it shows nothing.
I've seen this before too and was never able to figure out why the Height was different than the parent class yet it didn't show as bold in the Properties window. I usually resorted to entering the desired value manually, although I've even seen cases where after saving the form and reopening it, the value reverted to 21! In cases like that, I put This.Height = 22 into the Init method.
Doug
Précédent
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