Solved

button down

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

A lot of questions regard threads in Delphi.   One of the more specific questions is how to show progress of the thread.   Updating a progressbar from inside a thread is a mistake. A solution to this would be to send a synchronized message to the…
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…
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…

828 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