[Gambas-user] General event handler

Benoît Minisini g4mba5 at gmail.com
Sat May 1 01:18:49 CEST 2021


Le 01/05/2021 à 01:16, Bruce a écrit :
> In PL1 there is a condition called "Any$" that makes it possible to 
> write a generalised event handler "On_Any$" that is executed for any 
> other condition that does not have a specific handler. Thus if there is 
> a divide by zero occurrence and there is no "On_DivZero$" handler then 
> On_Any$ is executed.
> 
> Do we have a way to do the same in Gambas? Like in the startup class 
> have a method, say "Application_Any$", that could trap any event raised 
> by any object.
> 
> bruce
> 

No. What for?

-- 
Benoît Minisini


More information about the User mailing list