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.
New contributor
kalem is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.