Report question

Question: How to set an event function via a style?