vb.net中的Contextmenu位置 [英] Contextmenu position in vb.net

查看:230
本文介绍了vb.net中的Contextmenu位置的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述


我有一个datagridview.右键单击会显示一个上下文菜单,但它始终位于右上角.我想要它,以便菜单显示在用户右键单击的单元格上.可能是1号或2号单元格或其他任何单元.

谢谢
Furqan

Hi,
i have a datagridview. On right click it shows a contextmenu but it is always in the right upper corner. I want it so that the menu appears on the cell where user right clicks. It could be Cell 1 or two or whatever.

Thanks
Furqan

推荐答案

看看这个 DataGridView ContextMenu位置 [ ^ ]针对类似问题和答案.
Have a look at this DataGridView ContextMenu Location[^] for a similar question and the answer.


这篇关于vb.net中的Contextmenu位置的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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