Question
Using VS2008, C#, .Net 2 and Winforms how can I make a regular Button look "pressed"? Imagine this button is an on/off switch. ToolStripButton has the Checked property, but the regular Button does not.
Answer
One method you can used to obtain this option is by placing a "CheckBox" object and changing its "Appearance" from "Normal" to "Button" this will give you the same functionality that I believe you are looking for.
< br > via < a class="StackLink" href=" http://stackoverflow.com/questions/4913/" >How to make a button appear as if it is pressed?< /a>
0 comments:
Post a Comment