3

I have a toolstripbutton into my toolstrip, and I wish remove the orange lighting when a mouse is hover, because I change the picture of the button dynamically..

How can I do this?

1

2 Answers 2

0

Your English is impeccably bad so ill try to interpret as best i can.

I'm assuming you wish to change the image of a toolstripbutton once it's been clicked. This is quite simple. All you have to do is create an onClick action for the button, then change its icon/image attribute through code within the onClick action function.

0

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.