Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Selection changes in outline connected to data source



An outline view with a connected data source, works fine, but gives me
some trouble to actually track what the user is doing with it. (Funny
how the manual describes the "Tasks" project being with an outline
view, but opening it to find out how the solved it - it is a flat
table. I wonder why? ;-)

I have gone through the archives, very little on the subject and all in
none concluded threads. But from the list and my own tests, I have
figured the following out: none of the data view events seem to work.
To me it seems to be that the connection to a data source is doing a
lot "behind my back", like delegating all data view events to some
automatic works out of the scripter's control. Fine, the speed
improvement from this is worth the hassle of picking up the changes in
other ways.

What I've done is using "keyboard up", "clicked" and "should collapse
item" to catch all possibilities of the user changing the selection in
the outline view. Well it seems to work fine, but I wonder if anybody
have found a better way? (My choice would off course be to use de
designated "should select item" and "selection changed" to have perfect
and efficient control.)

I started to write this message before I had tested all possibilities
and had it working allright. (Just if you wondered why this kind of
"not really a question" was sent to the list, I would like to hear of
the very best way and possibly for some help to others.)

/
Jens Eliasson, <email@hidden>
_______________________________________________
applescript-studio mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/applescript-studio
Do not post admin requests to the list. They will be ignored.



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.