Solved

button down

Posted on 2007-03-20
3
177 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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Objective: - This article will help user in how to convert their numeric value become words. How to use 1. You can copy this code in your Unit as function 2. than you can perform your function by type this code The Code   (CODE) The Im…
Introduction The parallel port is a very commonly known port, it was widely used to connect a printer to the PC, if you look at the back of your computer, for those who don't have newer computers, there will be a port with 25 pins and a small print…
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

726 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