Toolstripbutton remove lighting

I have a toolbar in my toolbar and I want to remove the orange lighting when the mouse hovers because I am changing the button image dynamically.

How can i do this?

+3
source share
2 answers

Your English is spotlessly bad, so try to interpret as best as possible.

I assume that you want to change the image of the toolbar button after it is clicked. It is pretty simple. All you have to do is create an onClick action for the button and then change its icon / image using the code inside the onClick action function.

0
source

$(document).ready(function(){
    $('enter your element or class here').css("src", "path to image");
})
Run codeHide result
0

Source: https://habr.com/ru/post/1768950/


All Articles