Why doesn’t this fire :
class Form1(Form1Template):
def __init__(self, **properties):
self.init_components(**properties)
def tick(self, **event_args):
print("in tick")
def form_show(self, **event_args):
self.tmr = Timer(interval=0)
self.tmr.set_event_handler("tick", self.tick)
self.tmr.interval = 5
Clone here :
https://anvil.works/build#clone:TY7SRW73GRV6R6MZ=PAOBLA4MHXTJ53RIOLXE62AF