Solved

Button without rectangle of focus

Posted on 1997-03-21
1
287 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
Comment Utility
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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

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…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…

772 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now