Thanks for the replies.
This handler can be called by several controls. How do I refer to the proper one?
I can’t make the controls global, because some of them are declared by a recursive function - so there are multiple instances of the same control.
And when the caller is a listview - how can I determine which item was clicked?