Board index » delphi » Remove selected border

Remove selected border

Hi,

How can I remove the border in a button when it is selected?(Remove
selection, remove focus).
I can't focus another component because I only have two buttons and a form.

Thanks,

Kevin.

 

Re:Remove selected border


"TP" <kevi...@pi.be> skrev i melding
news:9nlkb9$ejf$1@news.planetinternet.be...

Quote
> Hi,

> How can I remove the border in a button when it is selected?(Remove
> selection, remove focus).
> I can't focus another component because I only have two buttons and a form.

Try:

  [YourForm].ActiveControl:=nil;

--
Bjoerge Saether
Consultant / Developer
http://www.itte.no
Asker, Norway
bjorge@takethisaway_itte.no (remve the obvious)

Other Threads