CF - How to "lose" focus from a control

Posted by no9 on Stack Overflow See other posts from Stack Overflow or by no9
Published on 2010-06-14T13:09:36Z Indexed on 2010/06/14 13:12 UTC
Read the original article Hit count: 214

Filed under:
|

Hello.

I have a control with two buttons (zoom in, zoom out). Both buttons have onClick event that handle the zoom.

When any of the button is pressed, the button gets focus and bolds its border and text.

Is there a way to disable/remove focus?

Actually the solution im looking for would be that on mouseDown the button would receive focus and would lose it on mouseUp.

thanx !

© Stack Overflow or respective owner

Related posts about compact-framework

Related posts about focus