cubesoft
cubesoft

Reputation: 3550

.NET CF Windows Forms - 3 state push button

How to create a 3 state push button that behaves like check box but looks like normal button?

Regards

Upvotes: 0

Views: 2340

Answers (2)

Luca C.
Luca C.

Reputation: 12564

Use a checkbox and change the Appareance property to "Button"

Upvotes: 2

asawyer
asawyer

Reputation: 17808

Subclass the Button class and add your custom properties and logic to support a simple state engine to represent your 3 value states.

Upvotes: 0

Related Questions