473,662 Members | 2,593 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Menu stops working?

I have been rearranging my menu items and now suddenly the
menu commands don't work. It seems that a "1" suffix has been
added to the menu "click" functions. Other than to cut and paste the
code from the old menu functions to the new menu functions,
is there an easier way to fix the "broken links"?
Nov 21 '05 #1
4 957
"dinny" <nospam> schrieb:
I have been rearranging my menu items and now suddenly the
menu commands don't work. It seems that a "1" suffix has been
added to the menu "click" functions. Other than to cut and paste the
code from the old menu functions to the new menu functions,
is there an easier way to fix the "broken links"?


Are you sure the menu items are declared as 'WithEvents' correctly, and the
handlers have a '...Handles...' specified?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #2
> Are you sure the menu items are declared as 'WithEvents' correctly, and
the
handlers have a '...Handles...' specified?


I am a bit surprised at this question. I created the menu with the designer,
then double clicked on each item to go to the code view where the
function template was already prepared. I don't understand what Handles
you are taking about.

Nov 21 '05 #3
"dinny" <nospam> schrieb:
handlers have a '...Handles...' specified?
I am a bit surprised at this question. I created the menu with the

designer, then double clicked on each item to go to the code view where the
function template was already prepared. I don't understand what Handles
you are taking about.


Take a look at the event handlers:

\\\
....Sub... Handles...
...
End Sub
///

Is there 'Handles MenuItem1.Click ' specified, for example?

--
Herfried K. Wagner [MVP]
<URL:http://dotnet.mvps.org/>
Nov 21 '05 #4
> Take a look at the event handlers:

\\\
...Sub... Handles...
...
End Sub
///

Is there 'Handles MenuItem1.Click ' specified, for example?


Ok, got you, thanks.
Nov 21 '05 #5

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

Similar topics

1
3246
by: bayouprophet | last post by:
Cant get menu script to to put linked page in the same frame. I am new to Java and I am wondering what am I doing wrong? below are my java applet file, frame.html file, and my text file and one of my link file that should load next to the menu on the same page. And Thank You in advance. Here is my menu applet: <html>
2
2090
by: Martin Hjärtmyr | last post by:
I have a program that uses Hotkeys! And they works just fine! I use this hotkeylib: http://www.vbaccelerator.com/home/NET/Code/Libraries/Windows_Messages/Hot_Key_Form/HotKeyForm_zip_HotKeyForm_HotKeyForm_HotKeyFormLib_cs.asp But my hotkeys suddenly stops working when i use this: ShowInTaskbar = false;
6
1944
by: dpomt | last post by:
I have a quite strange problem with the Menu control. I have ten languages and each language has a SiteMapDataSource and a Menu. For better performance, I am creating a hashtable (language -> (Menu, SitemapDataSource)) and holding this hashtable in the Cache object. On each page request, I am inserting the menu corresponding to the specified language to page. Hence, DataBinding is only done once per each language (when inserting the Menu...
4
2178
by: Enrika | last post by:
Greetings! I'm working on a CSS drop-down menu, which, to my surprise, is actually working, more-or-less, in both IE *and* Firefox (and Netscape). But there are two changes that I want to make that I just can't figure out how to do. The first is to make the submenu wider than the top menu. Currently, if the text of the submenu doesn't fit within the width of the menu item, the submenu item height increases to accomodate the entire text....
0
1390
by: Mike Eaton | last post by:
Hi there, I have an app whose structure is as follows: a module calls a custom application context containing a notify icon and associated context menu, which in turn acts upon an instance of another class, I'll call Class1 (i.e. accesses its startup, shutdown, print reports methods). Basically, Class1 manages communication between two other classes: one is a class that listens for a socket connection from another application and the...
1
1498
by: flaviosemeao | last post by:
I have something that is driving me crazy, I've been working more than 3 days in a "sub-menu" that I am building, and as an amateur in actionscript I tried and I just got 50%. I am trying to build a sub-menu like this one in this page (http://www.pictureperfectphotoonline.com/index2.php) and my only problem is make my sub-menu work like this one in "Photo Gallery". Does anybody has a built code already done that make the same functionality as...
1
5251
by: =?Utf-8?B?QW5kcmV3?= | last post by:
Hi, friends, I am using C#.net 2005 to create a windows application. It has menu items, such as File, etc. Under File, there are more menu items, such as New Files, Working Files, etc. Under New Files/Working Files, there are more sub menu items, respectively. All those menu items are enabled at beginning.
10
2179
by: lenzie | last post by:
I am having a very odd problem with a website I run. The menus have recently been changed to use javascript and some people are reporting that when they first use the site, Instead of a nicely aligned list of items each in its own light-blue box. They are seeing a straightforward <li> list with no styles. The biggest problem is that I think it is only seen the first time someone goes to the site and so I can't see it!!! So if anyone could...
0
8344
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
8764
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8546
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8633
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
6186
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
4180
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4347
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1993
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1752
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.