Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmLabel.AutoSize
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
00849643
Message ID:
00851227
Vues:
21
Stephen,

>I drop the control on to the form and then set the property in the property window.

Gotcha...I just checked this out and the reason the setting isn't "sticking" is because VS .NET doesn't sees "false" as the default value for the AutoSize property, and so when you set it to false in the property sheet it doesn't add a line of code to the InitializeComponent section. To fix this, in mmLabel, I added an override for the AutoSize property and set a "DefaultValue" attribute on the property. This will be included in the upcoming version 1.1.

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform