Remove focus rectangle from radiobutton caption

236 views Asked by At

I want to remove the dotted focus rectangle of the caption from a radio button in my C++ Builder XE7 application, when the button is pressed. Is there a possibility to do this?

I want to remove this focus rectangle:

image

1

There are 1 answers

0
AudioBubble On

You just need to use this method below:

JSpinner s1=new JSpinner("Example")
s1.setFocusPainted(false);