Relative Content

Tag Archive for winformstogglebutton

Create a ToggleButton

I managed to create TOGGLEBUTTON in Visual Studio. But what I want is for it to open when I press any key on the keyboard and close when I press the same key. I want to be able to follow CAPS LOCK, NUM LOCK etc. I would be very happy if you could help me with such a situation. I have been trying for a week but it is automatic. I couldn’t turn it on or off somehow.

ToggleButton help me

I managed to create TOGGLEBUTTON in Visuol Studio. But what I want is for it to open when I press any key on the keyboard and close when I press the same key. I want to be able to follow CAPS LOCK, NUM LOCK etc. I would be very happy if you could help me with such a situation. I have been trying for a week but it is automatic. I couldn’t turn it on or off somehow. THANKS.