Hi all,
I want to cancel a list component to change the selection under some
circumstances.
Neither works:
list.addEventListener( ListEvent.ITEM_CLICK, handleChange );
list.addEventListener( ListEvent.CHANGE, handleChange );
private function handleChange (e:ListEvent):void
{
e.preventDe
ember 21, 2007 5:54 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Preventing default onClick-behaviour in List-Component
Hi all,
I want to cancel a list component to change the selection under some
circumstances.
Neither works:
list.addEventListener( ListEvent.ITEM_CLICK, handleC
Hi Alex,
What are API design considerations behind of making most of
mx.events.ListEvent events not cancelable?
I just wanted to use event.preventDefault in my custom event handler
for ListEvent.ITEM_DOUBLE_CLICK event, but I could not.
> That is because those events are not cancelable. Are yo
t: Re: [flexcoders] Preventing default onClick-behaviour in
List-Component
Hi Alex,
What are API design considerations behind of making most of
mx.events.ListEvent events not cancelable?
I just wanted to use event.preventDefault in my custom event handler
for ListEvent.ITEM_DOUBLE_CLICK event, but I
4 matches
Mail list logo