Solved

Button without rectangle of focus

Posted on 1997-03-21
1
299 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
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

ScreenConnect 6.0 Free Trial

Explore all the enhancements in one game-changing release, ScreenConnect 6.0, based on partner feedback. New features include a redesigned UI, app configurations and chat acknowledgement to improve customer engagement!

Question has a verified solution.

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

Suggested Solutions

In this tutorial I will show you how to use the Windows Speech API in Delphi. I will only cover basic functions such as text to speech and controlling the speed of the speech. SAPI Installation First you need to install the SAPI type library, th…
Introduction I have seen many questions in this Delphi topic area where queries in threads are needed or suggested. I know bumped into a similar need. This article will address some of the concepts when dealing with a multithreaded delphi database…
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

832 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