Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

i think track bar supports only for the "Click" event in windows forms. There are nothing as "MiddlemousebuttonClick" or "Rightmousebuttonclick" events in windows forms. So that you can try to develop some code to make the trackbar visible or not. I mean something like a flag with a IF condition. At the very first click on track bar , set the flag as "1" and set the track bar visible property is true . then when you click again on the track bar, the same "Click" event get fired and then using current flag value , you can set the visible property false.