开发者

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?

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜