[Gambas-user] is it possible to non-virtualize Key.class

Benoit Minisini benoit.minisini at gambas-basic.org
Thu Mar 23 23:07:32 CET 2023


Le 23/03/2023 à 21:00, Bruce Steers a écrit :
> Could it be possible to non-virtualize Key.class ?
> 
> I tried to make a Key.class and added variables for the properties and a 
> way to have it either give the usual Key data or the set data.
> 
> The hope was i could set the variables then trigger a KeyPress event of 
> an object and it could read the fake details.
> 
> But it failed with "no Keyboard event data"
> 

Yes, there is no way to forge fake input events in GUI components.

-- 
Benoît Minisini.



More information about the User mailing list