[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: possibility to have generic event name?


On 4/2/24 09:05, Bruce Steers wrote:

could there be a possibility to have a generic event that would fire for all controls?

Ie something like.

' triggers for ANY and EVERY control that is clicked.
Public Sub Control_MouseDown()

    Print Last.Name;; "mouse down"

End

or

Public Sub *_MouseDown()

    Print Last.Name;; "mouse down"

End

am i dreaming?, it it impossible?, is it already possible and i've missed a trick?

Thanks
BruceS


Maybe put them all in the same Group?


--
Lee

--- Gambas User List Netiquette [https://gambaswiki.org/wiki/doc/netiquette] ----
--- Gambas User List Archive [https://lists.gambas-basic.org/archive/user] ----


Follow-Ups:
Re: possibility to have generic event name?Bruce Steers <bsteers4@xxxxxxxxx>
References:
possibility to have generic event name?Bruce Steers <bsteers4@xxxxxxxxx>