Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmLabel.AutoSize
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
00849643
Message ID:
00851227
Views:
22
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform