(Moderator, I never heard why the first attempt didn't get to the
list. Too verbose?)

All,
I have a question about programmatically controlling the currently
selected object displayed in a table view.

In short, the table displays lines of text to be spoken by the speech
synthesizer. As each line is spoken, I want it to be the selected line
in the table, and when the next line is spoken, the selection changes.
The lines of text are in an array controller.

Once the process starts, whichever object is currently selected is the
first spoken item. When speech finishes, the code attempts to select
the next one via array controller's canSelectNext and selectNext
methods. If the selection is updated to the next item, it waits until
tableViewSelectionDidChange: is invoked.

Is this the normal way of programmatically interacting with a
selection, or is there a better way?

thanks,
-Brent
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to