[Gambas-user] How can a self made Button UserControl receive the Focus?

Gianluigi gradobag at gradobag.it
Fri Mar 24 23:34:33 CET 2023


Il 24/03/23 22:20, Claus Dietrich ha scritto:
> Dear Gianluigi
>
> Many thanks for the project. These square buttons also don't receive 
> the focus
>
> but this can be resolved by setting the focus-property to True. 
> However, the
>
> square buttons are not prepared to display a focus.
>
>
> Dear Lee
>
> I had no issue at all to load the program and it behaves as expected.
>
>
> Dear Benoít
>
> Thanks for the valuable hints. The focus-reception works already. I still
>
> need to learn, what the Style-Class can provide and I have to read the
>
> recommended switch button documentation because there are still
>
> some open questions about self made user controls.
>
> Best regards
>
> Claus 


Hello everyone,

As Claus also says, here it works on all the virtuals I currently have 
installed.

I recommend trying this one from Bodard (focus works for him :-) ) :
https://lists.gambas-basic.org/pipermail/user/2016-August/058085.html

With Best Regards

Gianluigi



More information about the User mailing list