• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 314
  • Last Modified:

Button without rectangle of focus

I need some very little buttons on a form. When they got the focus, they receive a black rectangle outline.
On normal size buttons, it has no importance but on little size buttons, it hides the content of the button.

How prevent this rectangle outline on focused Buttons ?
(Using buttons from TButton class, not SpeedButton)

Jean marie Verdi
0
jm verdi
Asked:
jm verdi
1 Solution
 
javiertbCommented:
Hi,
If you don't want a button to have this rectangle(focus) you just have to set its property 'Tabstop'=FALSE so this component won't be focused. You can also control where the rectangle(focus)is with the SetFocus method.

I hope this helps.
0

Featured Post

New feature and membership benefit!

New feature! Upgrade and increase expert visibility of your issues with Priority Questions.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now