<mx:List id="thisList" dropEnabled="{thisList.dataProvider.length < 1}" />
 
That help?
 
Karl
 
Cynergy

________________________________

From: flexcoders@yahoogroups.com on behalf of jmfillman
Sent: Wed 2/21/2007 11:09 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: Count of items in a list



This has got to be possible. Please, someone help!!

--- In flexcoders@yahoogroups.com <mailto:flexcoders%40yahoogroups.com> , 
"jmfillman" <[EMAIL PROTECTED]> wrote:
>
> I'm having difficulty in determining if a list has any items already 
in 
> the list. For example, if a list already has 1 item, I want to set 
it's 
> dropEnabled property to false, either when the item is added to the 
> list or when the user attempts to drop a 2nd item. Also, if that item 
> is removed from the list, I want to set dropEnabled to true.
>



 

Reply via email to