[Gambas-user] How to make NoTabFocus property working in gb.qt5

Benoît Minisini g4mba5 at gmail.com
Wed Jan 5 16:11:33 CET 2022


Le 14/10/2021 à 17:18, T Lee Davidson a écrit :
> On 10/14/21 1:06 AM, Safiur Rahman wrote:
>> Hi
>> Although I set all types of controls' (except ToolBox) NoTabFocus 
>> property to True in gb.qt5, the event _GotFocus() is fired and control 
>> is focused on pressing Tab key. Am I doing something wrong?
>> Attached project
>> -- 
>> Regards
>> Safiur Rahman
> 
> No, I don't think you're doing anything wrong. It appears to be a bug.
> 
> 

Hi,

Tab focus management should have been finally fixed in all GUI 
components, with commit 
https://gitlab.com/gambas/gambas/-/commit/79fbe6c0a8799da4bdd930ec2b30a604ddfe3bdf.

The NoTabFocus property now works in Qt components, and is now recursive 
(if a container NoTabFocus property is set, all its children will ignore 
Tab focus).

Regards,

-- 
Benoît Minisini


More information about the User mailing list