Schmalle
Subject: RE: [flexcoders] Select a
Tree item on Right click
I have tried this and it has way too many
side effects.
I tried using mouseEvent.target and it's
not a reference to itemRenderer or DataGridItemRenderer. I also tried
relatedObject, and it's different
] Select a Tree item on Right click
Yes, I did this back in Flash.You have to write an event handler
for the itemRollOver (if the event is still called) that. Record the index
from the event. Then in your contextMenu handler have the first thing it does
set the selectedIndex
-Message d'origine-De:
flexcoders@yahoogroups.com [mailto:
flexcoders@yahoogroups.com]De la part
de Michael SchmalleEnvoyé: samedi 1 juillet 2006
01:24À: flexcoders@yahoogroups.comObjet: Re:
[flexcoders] Select a Tree item on Right click
Yes, I did this back in Flash.You have
Yes, I did this back in Flash.
You have to write an event handler for the itemRollOver (if the event
is still called) that. Record the index from the event. Then in your
contextMenu handler have the first thing it does set the selectedIndex
of the tree. At this time you can also access the
would soon
discover it.
Thoughts ?
Jason
-Message d'origine-De:
flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED]De la part
de Michael SchmalleEnvoyé: samedi 1 juillet 2006
01:24À: flexcoders@yahoogroups.comObjet: Re:
[flexcoders] Select a Tree item on Right click
Yes
Well, good news and bad news. Normally,
the event object properties on the ContextMenuEvent would help you accomplish
what youre asking for in a cinch. The mouseTarget property on a ContextMenuEvent
contains a reference to the display list object which the user was over when
the
6 matches
Mail list logo