[Gambas-user] How can a self made Button UserControl receive the Focus?
Gianluigi
gradobag at gradobag.it
Fri Mar 24 14:19:41 CET 2023
Il 24/03/23 13:24, Claus Dietrich ha scritto:
>
> Hi
>
> I am currently developing a button user control in Gambas language.
>
> So it inherits UserControl, is based on a PictureBox and the button class
>
> is part of a "Normal" project type (not "Component").
>
> My problem: During runtime the self-made button control doesn't receive
>
> the focus when I hit the Tab-key.
>
> My Question: How can I fix this?
>
> Best regards
>
> Claus
>
Hi Claus,
you should give a refresh on the Enter and Leav methods, but I gave it a
try and it doesn't seem to work.
Maybe something has changed or it is a bug :-\
Regards
Gianluigi
More information about the User
mailing list