Flex/Air datagrid open ContextMenu using mouseDown rather than rightMouseDown?
In a Fl开发者_高级运维ex 4/Air app, I've got an itemrenderer in a column of a Datagrid. I'd like the item to open the ContextMenu on itemRenderer.mouseDown but it seems to only work with itemRenderer.rightMouseDown. Any ideas as to why? and/or a good workaround?
thnx in advance.
To answer my own question, a class can force a contextmenu to open by calling contextMenu.display(stage, x, y);
I like to call it UI Precedent.
Why do you want to change the common convention that users have already been trained to learn?
精彩评论