双击要求打开菜单 [英] Double click requirement to open menu

查看:114
本文介绍了双击要求打开菜单的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在我的应用程序中,主窗体(顶部有主菜单)打开另一个调用.show()方法的窗体。虽然第二种形式(通过.show()方法调用)位于主窗体的前面,但如果我单击主窗体的菜单,则需要单击2次。首先以
激活主窗体,然后第二次打开菜单下拉菜单。有没有什么办法可以在上面提到的场景中打开主窗体的菜单,只需点击一下。谢谢&此致,Maverick。

Hi, In my application, The main form (having main menu on its top) opens an other form calling .show() method. While the second form(Called via .show() method) is in front of main form, if I click on the menu of Main form it requires 2 click. First to activate the main form and then the second one to open the menu drop down. Is there any way that I could open the menu of main form in the above mentioned scenario in 1 click only. Thanks & Regards, Maverick.

推荐答案




不,你不能减少据我所知,点击次数。 必须首先激活表格,然后才能使用其控件。


这篇关于双击要求打开菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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