[Gambas-user] NoTabFocus glitch when pressing shift (usercontrols)

Bruce Steers bsteers4 at gmail.com
Tue Mar 9 19:46:17 CET 2021


Yes Ben, brilliant  :)

I just set Focus = True on everything again then set NoTabFocus on a couple
and now the native routines skip them okay :)

Thank you :)


On Tue, 9 Mar 2021 at 13:17, Benoît Minisini <g4mba5 at gmail.com> wrote:

> Le 08/03/2021 à 21:52, Bruce Steers a écrit :
> > This is weird.
> >
> > I I have a form full of custom usercontrols and have set NoTabFocus on
> one.
> >
> > If i let the GUIs handle Tab focus then they get selected despite the
> > NoTabFocus flag.
> >
> > So i have written my own focus routine and grab the key events
> >
> > using up and down arrow and tab works fine and skips the NoTabFocus
> object.
> >
> > Using Shift + Tab selects it :(
> >
> > Using Shift and Tab uses the exact same command as Up arrow but up arrow
> > works.
> > I am calling Stop Event to cancel Tab and Shift+Tab press anywhere else.
> >
> > Odd how Tab works but shift + Tab does not.
> >
> > Project is here...
> > https://gitlab.com/bsteers4/ncheckbox
> > <https://gitlab.com/bsteers4/ncheckbox>
> >
> > BruceS
> >
> >
> >
> > ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
> >
>
> It is better with commit
>
> https://gitlab.com/gambas/gambas/-/commit/e13afca718bc93d7db910407a95209942f869662
> ?
>
> --
> Benoît Minisini
>
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gambas-basic.org/pipermail/user/attachments/20210309/b3722907/attachment.htm>


More information about the User mailing list