Link to home
Start Free TrialLog in
Avatar of indy500fan
indy500fan

asked on

Custom button behavior

Friends,

Is it possible to create a button that, when you click it, it stays depressed, and changes text, and then when you click it again, it pops back up and the text changes back?

I want it to function somewhat like a radio button, in that it is boolean, if it is depressed, the condition is true.  If not, it's false.  Make sense?

Can anybod point me in the right direction, or is this something that is built in to the form controls in .NET?

btnPrintNotPrint.FlatStyle.Flat

btnPrintNotPrint.FlatSytle.Popup

Regards,
Eric
Avatar of AlexFM
AlexFM

CheckBox control with Appearance = Button is what you need.
ASKER CERTIFIED SOLUTION
Avatar of AlexFM
AlexFM

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of indy500fan

ASKER

I'll Try It.
Yep, that's it.  Thanks!