RE: [flexcoders] Re: selectedItem in a list shows an icon

2005-08-10 Thread Blake Kadatz
> Very close to what I need...How to change the image if I click back > on the same item. The idea is that I want to permit no selection > in the list. Holding down the Ctrl key while clicking does it. Otherwise, you might need to write your own toggle function called by a click event. Blake

Re: [flexcoders] Re: selectedItem in a list shows an icon

2005-08-10 Thread Niklas Richardson
_ > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Niklas Richardson > Sent: mercredi 10 août 2005 12:40 > To: flexcoders@yahoogroups.com > Subject: Re: [flexcoders] Re: selectedItem in a list shows an icon > > > Hi Guys, >

RE: [flexcoders] Re: selectedItem in a list shows an icon

2005-08-10 Thread Philippe Maegerman
@yahoogroups.comSubject: Re: [flexcoders] Re: selectedItem in a list shows an icon Hi Guys,I started going down the same root as Philippe, but I think using theisSelected and setPropertiesAt might be a bit cleaner.  Here's thecode below.  You can also see it in action here:http://flexdemos.prismi

Re: [flexcoders] Re: selectedItem in a list shows an icon

2005-08-10 Thread Niklas Richardson
change="setSelectedIcon(event)"/> > > > Philippe Maegerman > Web developer > ____________ > From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On > Behalf Of Brooks Andrus > Sent: mercredi 10 août 2005 10:34 > To: flexco

RE: [flexcoders] Re: selectedItem in a list shows an icon

2005-08-10 Thread Philippe Maegerman
xcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On Behalf Of Brooks AndrusSent: mercredi 10 août 2005 10:34To: flexcoders@yahoogroups.comSubject: RE: [flexcoders] Re: selectedItem in a list shows an icon Does the list component in Flex not have setPropertiesAt() ?  This method of the list ta

RE: [flexcoders] Re: selectedItem in a list shows an icon

2005-08-10 Thread Brooks Andrus
Does the list component in Flex not have setPropertiesAt() ?  This method of the list takes two arguments: 1)   the index of the row in the list you want to modify (listen for a change event and then check the selectedIndex  property of the list). 2)   a style object which al