• 0

how to remove focus from a button


Question

i designed a cool button giving a 3d effect when the mouse enters or leaves the

buttons but when the button is clicked, it is focused and a line appears around the border

of the button. how do i de-focus the button after it is clicked to remove the focus.

thanks for reading!

Link to comment
https://www.neowin.net/forum/topic/495623-how-to-remove-focus-from-a-button/
Share on other sites

2 answers to this question

Recommended Posts

  • 0
  connect2sandeep said:

i designed a cool button giving a 3d effect when the mouse enters or leaves the

buttons but when the button is clicked, it is focused and a line appears around the border

of the button. how do i de-focus the button after it is clicked to remove the focus.

thanks for reading!

I would say the easist way to defocus the button would be to pass the focus onto another control

in vb it would be

control1.focus()

c#

control1.focus();

  • 0
  connect2sandeep said:

i designed a cool button giving a 3d effect when the mouse enters or leaves the

buttons but when the button is clicked, it is focused and a line appears around the border

of the button. how do i de-focus the button after it is clicked to remove the focus.

thanks for reading!

You already made a thread about this some time ago

https://www.neowin.net/forum/index.php?showtopic=495622

weenur or my suggestions didnt work?

This topic is now closed to further replies.
  • Recently Browsing   0 members

    • No registered users viewing this page.