Mouse down event in text view

** cross post from AppleScript Studio **


I’m new to AppleScript (and Studio). As part of my learning process, I made a window with a button and a scrollview/textview. When I click the button, the text view is populated with artist and album of the current song in iTunes. So far so good.

I noticed that scroll view has ‘mouse down’ as one of the even handlers, but text view only has mouse enter, exit and dragged. I really would like to have ‘mouse down’ activated for text view. Is there a way I can add more event handlers to a component?

Or is there a way I can define a custom component with all event handlers I want, enabled?