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 10:14:49
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
To
11/09/2004 09:53:27
General information
Forum:
ASP.NET
Category:
Other
Miscellaneous
Thread ID:
00941301
Message ID:
00941309
Views:
20
Bonnie,

In my original post, I meant to say background color instead of foreground color.

When I choose to reset the background color, it shows as light gray and is the form's background color. The button class's setting for background color is Blue. There is no code in the button class.

What I'd like to have happen when I reset a value in the property page is to have that value reset to the class value like in VFP's IDE. Perhaps the control should not have been a user control?

Mike


>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform