[Lazarus] how to keep out focus in a button

Sandro Cumerlato sandro.cumerlato at gmail.com
Wed Mar 23 06:37:22 CET 2016


Hi,
you can change ActiveControl to unfocus the button,  iirc setting
ActiveControl to nil will unfocus all controls in a form.

Sandro
On 23 Mar 2016 02:51, "hfiandor" <hfiandor at ceniai.inf.cu> wrote:

> Dear sirs>
>
>
>
> I have a button previously focused. When the action was completed and the
> promt was sended to other position in the MainMenu, the button remain
> indicating the focus. Please, I want to know how to unfocus the button.
>
>
>
> Thanks in advance,
>
>
>
> yours
>
>
>
> Ing. Héctor F. Fiandor Rosario
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160323/1987a974/attachment-0003.html>


More information about the Lazarus mailing list