473,796 Members | 2,460 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 ContextMenuStri p? I'm not
sure but I thought there was. It there was such a note why was it removed?
Feb 15 '08 #1
6 1467
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 ContextMenuStri p? 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 contextmenustri p with your form where
contextmenustri p1 is your contextmenustri p name as you know:

Me.ContextMenuS trip = Me.ContextMenuS trip1
Feb 16 '08 #2

"Academia" <ac************ @a-znet.comkirjoit ti viestissä
news:%2******** ********@TK2MSF TNGP03.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 ContextMenuStri p? I'm not
sure but I thought there was. It there was such a note why was it removed?
I can see ContextMenuStri p 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*****@hotmai l.comwrote in message
news:7G******** *************@r eader1.news.sau nalahti.fi...
>
"Academia" <ac************ @a-znet.comkirjoit ti viestissä
news:%2******** ********@TK2MSF TNGP03.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 ContextMenuStri p?
I'm not sure but I thought there was. It there was such a note why was it
removed?

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

Feb 16 '08 #4

"Academia" <ac************ @a-znet.comkirjoit ti viestissä
news:eS******** ******@TK2MSFTN GP04.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 ContextMenuStri p property which is the same as ContextMenu
in older versions.

-Teemu

Feb 16 '08 #5
ContextMenu is still supported.

thanks
"Teemu" <ts*****@hotmai l.comwrote in message
news:5W******** ************@re ader1.news.saun alahti.fi...
>
"Academia" <ac************ @a-znet.comkirjoit ti viestissä
news:eS******** ******@TK2MSFTN GP04.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 ContextMenuStri p property which is the same as ContextMenu
in older versions.

-Teemu

Feb 16 '08 #6

"Academia" <ac************ @a-znet.comkirjoit ti viestissä
news:u8******** ******@TK2MSFTN GP04.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 ContextMenuStri p 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
1667
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 own click event handlers. When I click on any of the options in the ContextMenu, I want to know which RichTextBox the ContextMenu is currently opened in, so I thought I could check the SourceControl property. The problem is, the property is...
2
9599
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 which removes the selected item from the list. If I right-click on my list, I clone menuDelete item and display a pop-up menu. So, if user selects Delete item in the menu, I go through the same logic and remove the selected item.
0
1135
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 for the three submenus I want to open). These characters cause three levels of submenu to open. This is just what I want to happen except I want to do it from my form code when the user presses a certain key combination. 1) From my form I use...
2
2127
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
1021
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 ctl.Controls.Count > 0 Then PercorreMenus2(ctl, f) End If
4
3374
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 ListView.ContextMenu property. The problem is that the context menu comes up regardless of whether I right-click on the item or the empty space or the column header. I want it only to come up when the user right-clicks on an item. How can I
3
1743
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
4024
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 nothing happens. Any ideas?
7
2233
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 shorcuts, copy, paste, etc. However, on the form I have a datagrid which is also assigned to the same contextmenu and contextmenupopup event as follows: .... If ContextMenu1.SourceControl Is richtextbox1Then ' Add MenuItems to display for the TextBox.
0
9683
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9529
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10013
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
1
7550
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6792
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5576
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4119
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3733
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2927
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.