If I try to look from the user perspective, I would prefer control left click over doubleclick and I would prefer some visual representation (small down arrow like context menus in dreamweaver/flash) over all other solutions.
Milan

On 7/1/06, Jason Hawryluk <[EMAIL PROTECTED]> wrote:

What do you all think about a double-click context menu, in stead of the right click context menu that flex provides. The problem with the flex one is that it confuses a user as to whether they are still in your app or some browser menu. Hence I see the oops syndrome.

 

(definitely!)

 

Create a double click flex context menu using the mx:menu ? would it work. Another benefit is mac users only have 1 button so I avoid right click like the plague. Although I also try to avoid double click as, in all my years of software development on thing you can be guaranteed in a user that continuously double clicks everything or randomly clicks stuff.

 

Also basing things on the context menu when that is not common in a web app may place confusion. I might user test the double click idea though.

It's not standard,but it could work and long as no vital actions are tied to it. An experianced user would soon discover it. 

 

Thoughts ?

 

Jason

 
 
-----Message d'origine-----
De : flexcoders@yahoogroups.com [mailto: flexcoders@yahoogroups.com]De la part de Michael Schmalle
Envoyé : samedi 1 juillet 2006 01:24
À : flexcoders@yahoogroups.com
Objet : Re: [flexcoders] 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 of the tree. At this time you can also access the node info, which is handy for populating the menu before it is 'rendered'.

Peace, Mike

On 6/30/06, Pottavathini, Sathish <[EMAIL PROTECTED] > wrote:

Hi,

I have a tree control and i added custom contextual menus on that tree.
I'm trying to read the value of the tree node when i right click and select a custom contaxtual menu, i did not find a way to do this because right click is not selecting the tree item.

If i left-click before right-clicking on it then i can get to it by using myTree.selectedItem. Is there any way i can get to the tree item that i right clicked on(without a left click)? Or force it to select the item when i right click on it?

Thanks




--
What goes up, does come down.


__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to