在上下文菜单中创建子菜单 [英] Create submenu in context menu

查看:37
本文介绍了在上下文菜单中创建子菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否可以在 Adob​​e Flex 的上下文菜单(右键单击菜单)中创建子菜单?

Is it possible to create submenu in context menu (right click menu) in Adobe Flex?

Menu1 >
  - Menu1.1
  - Menu1.2
Menu2 >
  - Menu2.1
  - Menu2.2
  - Menu2.3

推荐答案

否;它是目前的限制之一;我相信 Flash Player.

No; it is one of the current limitation; I believe of the Flash Player.

在 Adob​​e AIR 中,您可以使用 NativeMenuItem 类.

In Adobe AIR you can add submenus to the context menu using the submenu property of the NativeMenuItem class.

这篇关于在上下文菜单中创建子菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆