[Gambas-user] webhtml click event

Benoit Minisini benoit.minisini at gambas-basic.org
Sun Mar 5 19:45:48 CET 2023


Le 05/03/2023 à 15:02, Mayost Sharon a écrit :
> And also is there a good reason that there are no click events in all the gb.web.gui controls
> 

Yes, Logic.

If a control is for displaying, it can't any event related to user 
interaction. Otherwise it will not be a display-only control.

Why do you want to add a "Click" event to all controls? Why don't you 
use a WebButton is that case, customizing its look with css?

-- 
Benoît Minisini.



More information about the User mailing list