上下文菜单 [英] Context menu's
问题描述
只是一个简单的问题...
我已经构建了一个上下文菜单,我想弹出窗口
右键单击表格,我已经将Form的上下文菜单
属性设置为相关菜单的名称,但它不会在运行时显示
右键点击,我该怎么做?b $ b做错了?
提前谢谢
问候史蒂夫...... ?
-----原始消息-----
它在所有其他形式上使用此方法工作正常
控件但是我无法在空白的
部分弹出菜单表格
困惑
关心史蒂夫......?
。
< blockquote>Steven Smith <圣********** @ emailaccount.com> scripsit:
我已经构建了一个上下文菜单,我想在右键单击表单时弹出,我已经设置了表单的上下文菜单>属性到相关菜单的名称,但它不会在运行时右键显示,我做错了什么?
我无法用VS.NET 2002重现它。
-
Herfried K. Wagner
MVP·VB Classic,VB.NET
< http://www.mvps.org/dotnet>
"史蒂芬史密斯 <圣********** @ emailaccount.com> scripsit:在所有其他表单
控件上使用此方法可以正常工作,但是我无法在表单的空白部分弹出菜单
如果添加上下文菜单并将其分配给
形式'''ContextMenu''属性,它是否适用于_blank_表单?
-
Herfried K. Wagner
MVP·VB Classic,VB.NET
< http://www.mvps.org/dotnet>
Just a quick question...
I''ve built a context menu which I want to pop-up when
right clicking the form, I''ve set the Form''s context menu
property to the name of the menu in question, but it
won''t show up at runtime on a right click, what am I
doing wrong ?
Thanks in advance
Regards Steve... ?
-----Original Message-----
It works fine using this method on all other form
controls but I can''t get the menu to pop-up on a blank
section of the form
confused
Regards Steve... ?
.
"Steven Smith" <St**********@emailaccount.com> scripsit:I''ve built a context menu which I want to pop-up when
right clicking the form, I''ve set the Form''s context menu
property to the name of the menu in question, but it
won''t show up at runtime on a right click, what am I
doing wrong ?
I am not able to reproduce that with VS.NET 2002.
--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
"Steven Smith" <St**********@emailaccount.com> scripsit:It works fine using this method on all other form
controls but I can''t get the menu to pop-up on a blank
section of the form
Does it work on a _blank_ form if you add a contextmenu and assign it to
the form''s ''ContextMenu'' property?
--
Herfried K. Wagner
MVP · VB Classic, VB.NET
<http://www.mvps.org/dotnet>
这篇关于上下文菜单的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!