473,386 Members | 2,078 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Why don't I see ContextMenu in the form's property list???

VS2008

The help for Form lists ContextMenu as a property but it does not appear in
the properties for my form.

Is there something I must do to make it appear there.
Thanks
BTW, in VS2005, which I no longer have, wasn't there some note in the help
for ContextMenu that said it was replaced with ContextMenuStrip? I'm not
sure but I thought there was. It there was such a note why was it removed?
Feb 15 '08 #1
6 1437
On Feb 16, 1:23 am, "Academia" <academiaNOS...@a-znet.comwrote:
VS2008

The help for Form lists ContextMenu as a property but it does not appear in
the properties for my form.

Is there something I must do to make it appear there.

Thanks

BTW, in VS2005, which I no longer have, wasn't there some note in the help
for ContextMenu that said it was replaced with ContextMenuStrip? I'm not
sure but I thought there was. It there was such a note why was it removed?
I'm not able to help about the location in VS 2008 but add this code
in your form_load to use contextmenustrip with your form where
contextmenustrip1 is your contextmenustrip name as you know:

Me.ContextMenuStrip = Me.ContextMenuStrip1
Feb 16 '08 #2

"Academia" <ac************@a-znet.comkirjoitti viestissä
news:%2****************@TK2MSFTNGP03.phx.gbl...
VS2008

The help for Form lists ContextMenu as a property but it does not appear
in the properties for my form.

Is there something I must do to make it appear there.
Thanks
BTW, in VS2005, which I no longer have, wasn't there some note in the help
for ContextMenu that said it was replaced with ContextMenuStrip? I'm not
sure but I thought there was. It there was such a note why was it removed?
I can see ContextMenuStrip in Form's properties. It is in Behavior-section
if you are using categorized sorting.
-Teemu

Feb 16 '08 #3
thanks but I'm looking for the ContextMenu

thanks for answering

"Teemu" <ts*****@hotmail.comwrote in message
news:7G*********************@reader1.news.saunalah ti.fi...
>
"Academia" <ac************@a-znet.comkirjoitti viestissä
news:%2****************@TK2MSFTNGP03.phx.gbl...
>VS2008

The help for Form lists ContextMenu as a property but it does not appear
in the properties for my form.

Is there something I must do to make it appear there.
Thanks
BTW, in VS2005, which I no longer have, wasn't there some note in the
help for ContextMenu that said it was replaced with ContextMenuStrip?
I'm not sure but I thought there was. It there was such a note why was it
removed?

I can see ContextMenuStrip in Form's properties. It is in Behavior-section
if you are using categorized sorting.
-Teemu

Feb 16 '08 #4

"Academia" <ac************@a-znet.comkirjoitti viestissä
news:eS**************@TK2MSFTNGP04.phx.gbl...
thanks but I'm looking for the ContextMenu

thanks for answering
You won't find it if you are using VB 2005 or VB 2008.

You have to use ContextMenuStrip property which is the same as ContextMenu
in older versions.

-Teemu

Feb 16 '08 #5
ContextMenu is still supported.

thanks
"Teemu" <ts*****@hotmail.comwrote in message
news:5W********************@reader1.news.saunalaht i.fi...
>
"Academia" <ac************@a-znet.comkirjoitti viestissä
news:eS**************@TK2MSFTNGP04.phx.gbl...
>thanks but I'm looking for the ContextMenu

thanks for answering

You won't find it if you are using VB 2005 or VB 2008.

You have to use ContextMenuStrip property which is the same as ContextMenu
in older versions.

-Teemu

Feb 16 '08 #6

"Academia" <ac************@a-znet.comkirjoitti viestissä
news:u8**************@TK2MSFTNGP04.phx.gbl...
ContextMenu is still supported.

thanks
Yes it is, but I don't see any reason why to use it. It is not supported in
IDE as you see and ContextMenuStrip has everything that ContextMenu has.

-Teemu

Feb 16 '08 #7

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: MD | last post by:
I have a ContextMenu that is assigned to 3 RichTextBox's (i.e., if you right-click on any of the 3 RichTextBox's, you get the same ContextMenu). My ContextMenu has 2 items, each of which have their...
2
by: VR | last post by:
I have a form with a list view control, a button control and a main menu with menuDelete item. Any time I am handling a button click event or menuDelete click event I call DeleteItem() function...
0
by: Valerie Hough | last post by:
I have two different cases: 0) I right click the mouse button on a list box on my form, then in the Popup handler for the list box I use SendKeys to send three characters at once (the mnemonics...
2
by: Zieben | last post by:
Hello! I have such problem! I have my UserControl. I override property ContextMenu for this Control as ..... new ContextMenu ContextMenu{ set {_contextMenu = value;}
0
by: Jorge | last post by:
Hello I am trying to browse a form and i know it has 3 contextmenus and a mainmenu. Public Sub PercorreMenus(ByVal f As Form) Dim ctl As Control For Each ctl In f.Controls If...
4
by: Frank Rizzo | last post by:
Hello, I have a listview control with bunch of entries. When the user right-clicks on the item, I want a context menu to come up. So I created a ContextMenu instance and assigned it to...
3
by: Cc | last post by:
how do I show context menu on richtextbox? I try select the contextmenu under properties , but still no use do I miss something. (VS 2005)
1
by: Mantorok | last post by:
Hi I have a button on a Windows Form and it has a ContextMenu set, when the user clicks the button I want the menu to appear, I've tried this: btnMenu.ContextMenuStrip.Show(); Absolutely...
7
by: wandii | last post by:
Hi, I am trying to show the shortcut menu on a richtextbox control by adding the contextmenu component onto the form. The richtextbox property is assigned to the contextmenu. I created my...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.