473,320 Members | 1,831 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,320 software developers and data experts.

need help editing a right-click menu

I am editing an existing application that has a
System.Windows.Forms.TreeView with a right-click menu with several
options.

I want to get rid of the TreeView alltogether and rip out the code for
the right-click options and put these under different command buttons
instead, but I am having trouble finding the code for the options.

I remember in VB6 there was some kind of menu editor which gave the
name of the subs for the menu options, but I am not finding this in
VS.NET 2003.

How can I find the code for the menu? (and for future reference, how
would I edit the menu itself)

Much appreciated

Nov 21 '05 #1
2 1695
Mad Scientist Jr wrote:
I am editing an existing application that has a
System.Windows.Forms.TreeView with a right-click menu with several
options.

I want to get rid of the TreeView alltogether and rip out the code for
the right-click options and put these under different command buttons
instead, but I am having trouble finding the code for the options.

I remember in VB6 there was some kind of menu editor which gave the
name of the subs for the menu options, but I am not finding this in
VS.NET 2003.

How can I find the code for the menu? (and for future reference, how
would I edit the menu itself)

Much appreciated


Search the code for a ContextMenu. This is the object that does the
right click menu. Remember to look under the windows generated code as
well.

Chris
Nov 21 '05 #2
Mad Scientist Jr wrote:
I am editing an existing application that has a
System.Windows.Forms.TreeView with a right-click menu with several
options.

I want to get rid of the TreeView alltogether and rip out the code for
the right-click options and put these under different command buttons
instead, but I am having trouble finding the code for the options.

I remember in VB6 there was some kind of menu editor which gave the
name of the subs for the menu options, but I am not finding this in
VS.NET 2003.

How can I find the code for the menu? (and for future reference, how
would I edit the menu itself)

Much appreciated


Search the code for a ContextMenu. This is the object that does the
right click menu. Remember to look under the windows generated code as
well.

Chris
Nov 21 '05 #3

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

Similar topics

0
by: Google Mike | last post by:
I just found out from someone named Frank M. Kromann in one of the other PHP forum websites that I don't have to recompile PHP on Linux in order to add a database connector. I've been pulling my...
1
by: nospam | last post by:
Amazon wins patent for ordering forms, Collapsing and Maximizing Form Areas.... NAME OF PATENT Method and system for displaying and editing of information # 6,615,226 ...
19
by: James Fortune | last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't understand why people who know how to write code to completely replace a front end do not write something that will automate...
106
by: xtra | last post by:
Hi Folk I have about 1000 procedures in my project. Many, many of them are along the lines of function myfuntion () as boolean on error goto er '- Dim Dbs as dao.database Dim Rst as...
0
by: Raterus | last post by:
Here is my only problem with using the datagrid to edit data. Say I have a moderate sized table, with about 15 columns. I want to allow a user to be able to edit most all of these fields, except...
0
by: greg | last post by:
Hi Not sure ths is the right group but we develop under .NET There is an article on msdn about scriptable editing How to Create an HTML Editor Application It uses explorer's libraries We...
1
by: seanmayhew | last post by:
I have a form page that that while editing saves the data to an xml doc before submitting to db. On each page unload it saves the xmldoc as the user can add multiple items to the company like...
3
by: Manish | last post by:
I am developing a photo gallery. 1. The user will be able to upload the photo a) Edit the photo using various GD library functions viz. flip, rotate, ... 2. AJAX is implemented in a small...
12
by: dino d. | last post by:
hi everyone- my subject pretty much says it all- is there a secure way to do this? the non-secure ways are, as i understand it, to populate a listbox with indices as names, or maybe use a hidden...
15
by: lbrtchx | last post by:
I am trying to write up a page with Math formulas (statistical ones) ~ http://www.geocities.com/tekmonk2005/OnLineStats02.html ~ The thing is that I am not able to make it look OK using HTML. I...
0
by: DolphinDB | last post by:
The formulas of 101 quantitative trading alphas used by WorldQuant were presented in the paper 101 Formulaic Alphas. However, some formulas are complex, leading to challenges in calculation. Take...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
0
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.