Link to home
Start Free TrialLog in
Avatar of CoderCat
CoderCat

asked on

how to make a standard button into a togglebutton (not a ToolBarButton), IE stays down on press, then up on press again

I have looked and looked without success. I can do what I need to do in a ToolBar ... with side effects I don't want.

How can I make a standard "Windows.Forms.Button" act like a toggle button? IE: stay pushed until pushed again.

Please! I'm giving 125 points because I'm urgent, even though I think it's a 50 pointer.

Thanks beforehand.
ASKER CERTIFIED SOLUTION
Avatar of gregoryyoung
gregoryyoung
Flag of Canada image

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 djacosta
djacosta

Have you tried the ButtonState Enumeration:

ButtonState.Pushed?