Tuesday, July 17, 2018

#1 2003-03-17 03:45:36 am

Trash Man
Sanitation Department
Registered: 2005-10-20
Posts: 5336

Mouse down event in a text view

Hi,

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 even handlers to a component?

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

Thanks!
~Yogi


One mans trash is another mans treasure

Offline

 

#2 2003-03-17 02:28:24 pm

General
Member
From:: Texas
Registered: 2005-08-08
Posts: 944
Website

Re: Mouse down event in a text view

um i dont think there is any real way to do it... unless you make your own class... but if i were you i would try to put a transparent object over that text veiw, that has mouse down as an event


General

Offline

 

Board footer

Powered by FluxBB

RSS (new topics) RSS (active topics)