David Bovill wrote:
> That's unfortunate..
>
>> From: Richard Gaskin <[EMAIL PROTECTED]>
>> Subject: notification of hilitedLine change?
>>
>> SelectionChanged only works on editable text
>> fields,
>
> But I don;'t get that here... created a simple field added 3 lines and the
> following script:
>
> on selectionChanged
> answer "Hello"
> end selectionChanged
>
> And clicking on lines result in the expected dialogue...
>
> I have a few questions regarding message handling - not sure if there a
> reasons for them, but would like to know...
>
> 1) Autoarm blocks "mouseDown" messages (but not "mouseUp"
>
> 2) how to get the "mouseUp" when if it outside the control clicked on...
>
> ... Answer (just found -:) - the "mouseRelease" message!
You're correct that the selectionChanged message is sent when the selection
is changed from a mouse action, but the message does not appear to be sent
when the selection is changed by using the arrow keys while the field has
focus.
--
Richard Gaskin
Fourth World Media Corporation
Multimedia Design and Development for Mac, Windows, UNIX, and the Web
_____________________________________________________________________
[EMAIL PROTECTED] http://www.FourthWorld.com
Tel: 323-225-3717 ICQ#60248349 Fax: 323-225-0716
Archives: http://www.mail-archive.com/metacard@lists.runrev.com/
Info: http://www.xworlds.com/metacard/mailinglist.htm
Please send bug reports to <[EMAIL PROTECTED]>, not this list.