Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reset a value in the property page...I hate it!
Message
From
11/09/2004 09:53:27
 
 
To
11/09/2004 09:12:41
Mike Sue-Ping
Cambridge, Ontario, Canada
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00941301
Message ID:
00941308
Views:
19
Mike,

No, you're not doing anything wrong. It sounds like the button class that the co-worker created is where the problem is. What *does* happen when you choose Reset? What's the code for the button class?

~~Bonnie


>Hi,
>
>I drop a user control onto a windows form. This control is a button that a co-worker created as a "template" (I like to call it a "class" like in VFP, yeah, yeah, I know, everything in .Net is a class). After dropping it, all properties are set to its "default" or inherited values. If I then overwrite one, say the foreground color, then try to reset it by right clicking on the property and choosing Reset, the value that is restored is NOT that of the "template/class".
>
>What am I doing wrong? If I'm not doing anything wrong then is it just me or is anyone else annoyed at this behavior.
>
>.NET Newbie,
>
>Mike
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform