[Lazarus] I can't exit this component

Arí Ricardo Ody nightrider43 at gmail.com
Sat Mar 30 13:50:14 CET 2024


I was thinking that OnEnter would refer to receiving focus. If it responds
to mouse movement then it is explained.

I changed the logic to use the OnClick event in the component. Then it
worked.

I see now that it was a lack of knowledge on my part.

Thank you very much.

On Fri, Mar 29, 2024 at 9:03 AM Werner Pamler via lazarus <
lazarus at lists.lazarus-ide.org> wrote:

> Am 29.03.2024 um 12:09 schrieb Arí Ricardo Ody via lazarus:
> > procedure TfrmGeraString.tedtNomArqMicEnter(Sender: TObject);
> The "Enter" in this method name indicates that you assigned the event
> handler to the OnEnter event of something (a button maybe). This means
> that whenever the mouse is moved over this button ("enter") the event
> fires. Usuall dialogs are displayed only when a "click" occurs, and this
> responsibility is in the OnClick event of the button.
> --
> _______________________________________________
> lazarus mailing list
> lazarus at lists.lazarus-ide.org
> https://lists.lazarus-ide.org/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20240330/0483e287/attachment.htm>


More information about the lazarus mailing list