Solved

button down

Posted on 2007-03-20
3
172 Views
Last Modified: 2010-04-05
Maybe trivial...but how do you prevent a button when clicked from being 'sunken'
(doted line)?
0
Comment
Question by:Vrtnar
  • 2
3 Comments
 
LVL 21

Expert Comment

by:ziolko
ID: 18755147
not trivial at all:)
btw. dotted line is when button gets focus not only when pressed:)

ziolko.
0
 
LVL 17

Accepted Solution

by:
mokule earned 50 total points
ID: 18755262
This will remove dotted line, but only after button is released

procedure TForm1.Button1Click(Sender: TObject);
begin
  ActiveControl := nil;
end;
0
 
LVL 17

Expert Comment

by:mokule
ID: 18755271
Other solution is to use SpeedButton
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

The uses clause is one of those things that just tends to grow and grow. Most of the time this is in the main form, as it's from this form that all others are called. If you have a big application (including many forms), the uses clause in the in…
Introduction Raise your hands if you were as upset with FireMonkey as I was when I discovered that there was no TListview.  I use TListView in almost all of my applications I've written, and I was not going to compromise by resorting to TStringGrid…
This Micro Tutorial demonstrates using Microsoft Excel pivot tables, how to reverse engineer competitors' marketing strategies through backlinks.
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

863 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

24 Experts available now in Live!

Get 1:1 Help Now