Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我可以检测菜单是否弹出并且有人点击屏幕(在不选择值的情况下关闭它)?
目前我有一个复选框,单击该复选框会打开一个带有选项的上下文菜单。当我在不选择值的情况下单击它时,我希望复选框消失。
谢谢。
应该是,您是否查看了参考指南onContextMenuClosed()?
onContextMenuClosed()