子菜单在Delphi应用程序中的错误位置 [英] Submenu wrong position in Delphi application
问题描述
我的应用程序是用delphi编写的.由于某些原因,主菜单的行为不再像昨天一样(我可能不知道就碰到了某些属性).现在,当我单击带有子项目的菜单项时,尽管箭头位于右侧,但子菜单仍保持向左打开.
My application is written in delphi. For some reason the main menu does not behave anymore like it did until yesterday (I probably touched some property without knowing). Now when I click on a menu item with sub-items, though the arrow is located to the right, the submenu keeps opening to the left.
原因是什么,如何将其还原?
What is the reason and how do I restore it back?
推荐答案
正如对该问题的注释所揭示的,这与编程无关.在控制面板的Tablet pc设置中有一个设置可以执行此操作.进行设置的原因是,当人右手使用笔等时,子菜单(如果在其父菜单的右侧打开)会被笔遮挡.
As revealed in the comments to the question, this is not programming related. There's a setting that does this in tablet pc settings in control panel. The reason for the setting is, when one is using a pen or the like with the right hand, sub menus, if opened to the right of their parent menu, are obscured by the pen.
这篇关于子菜单在Delphi应用程序中的错误位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!