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

Benoît Minisini g4mba5 at gmail.com
Tue Mar 9 14:16:31 CET 2021


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


More information about the User mailing list