I don't see a selectedItemChanged event ... I only see a "change" event, and that only gets fired when a user manually clicks and changes an item.
Michael Schmalle wrote: > > Hi, > > Have you tried the selectedItemChanged event from the list? > > Just write a handler and do what Tim said, maybe that would work. > > Peace, Mike > > On 10/12/06, *Daniel Wabyick* <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>> wrote: > > > Ah, that was a good idea, but it doesn't work in my case. > > The list is being filtered and the selectedItem is being set via > other > code. Thus the need to bind to selectedItem, as the "change" handler > won't be called. > > I should be able to whip something up fairly easily via a subclass ... > > -D > > Tim Hoff wrote: > > > > Hi Daniel, > > > > On a click or change event you could use this: > > > > myList.scrollToIndex(myList.selectedIndex); > > > > -TH > > > > --- In [email protected] > <mailto:flexcoders%40yahoogroups.com> > > <mailto:flexcoders% <mailto:flexcoders%25>40yahoogroups.com > <http://40yahoogroups.com>>, Daniel Wabyick <[EMAIL PROTECTED]> wrote: > > > > > > > > > I would like to configure a List class so that it will > automatically > > > scroll to show the selected item whenever the selected index/item > > > changes. I can't see anyway to bind that using the standard List > > class, > > > and it seems like I will have to subclass it in order to work. Am I > > > missing an easier solution? > > > > > > Thanks, > > > -D > > > > > > > > > > > > -- > What goes up, does come down. > -- Flexcoders Mailing List FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/flexcoders/ <*> Your email settings: Individual Email | Traditional <*> To change settings online go to: http://groups.yahoo.com/group/flexcoders/join (Yahoo! ID required) <*> To change settings via email: mailto:[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/

