<mx:List id="thisList" dropEnabled="{thisList.dataProvider.length < 1}" />
That help?
Karl
Cynergy
________________________________
From: [email protected] on behalf of jmfillman
Sent: Wed 2/21/2007 11:09 AM
To: [email protected]
Subject: [flexcoders] Re: Count of items in a list
This has got to be possible. Please, someone help!!
--- In [email protected] <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.
>