Solved

Button without rectangle of focus

Posted on 1997-03-21
1
310 Views
Last Modified: 2010-04-04
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
Comment
Question by:jm verdi
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 2

Accepted Solution

by:
javiertb earned 50 total points
ID: 1334917
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

On Demand Webinar: Networking for the Cloud Era

Ready to improve network connectivity? Watch this webinar to learn how SD-WANs and a one-click instant connect tool can boost provisions, deployment, and management of your cloud connection.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Have you ever had your Delphi form/application just hanging while waiting for data to load? This is the article to read if you want to learn some things about adding threads for data loading in the background. First, I'll setup a general applica…
In my programming career I have only very rarely run into situations where operator overloading would be of any use in my work.  Normally those situations involved math with either overly large numbers (hundreds of thousands of digits or accuracy re…
In this video, viewers will be given step by step instructions on adjusting mouse, pointer and cursor visibility in Microsoft Windows 10. The video seeks to educate those who are struggling with the new Windows 10 Graphical User Interface. Change Cu…
Do you want to know how to make a graph with Microsoft Access? First, create a query with the data for the chart. Then make a blank form and add a chart control. This video also shows how to change what data is displayed on the graph as well as form…

696 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question