Search
  Search
DEVELOP WEB APPLICATIONS WITH THE BEST AJAX FRAMEWORK.
CREATE LINE OF BUSINESS SILVERLIGHT APPLICATIONS IN NO TIME.
EVERY THING YOU NEED TO START DEVELOPING WITH VISUAL WEBGUI.
SEE VISUAL WEBGUI SHOW CASES FROM AROUND THE WORLD.
ALL THE RESOURCES YOU NEED TO START BUILDING VISUAL WEBGUI APPLICATIONS TODAY.
SHARE AND FIND VISUAL WEBGUI RESOURCES.
TALK WITH OTHER VISUAL WEBGUI DEVELOPERS.
 

 

SAP has chosen Visual WebGui for strategic web application, Mr. Saar of SAP explains why in an interview with with Jeremy Geelan at AJAX World.

Click on the video image to watch

SAP chosen VWG for strategic web application

 
  Forum  Core :: SDK (Vi...   Let's Chat Abo...  MenuItems multiplication (bug?)
Previous Previous
 
Next Next
New Post 9/25/2008 1:30 PM
  mattmichler
6 posts
No Ranking


MenuItems multiplication (bug?) 
I created a MainMenu and when I run my application and open new forms the MainMenu items are being multiplied. Here's an screenshot example of the behavior (green numbers represent order the windows were opened): http://img87.imageshack.us/my.php?image=menubehaviorhf9.jpg

All of the MenuItems were added through the designer except the ones labeled "NewMenuItem."

Note that when I opened Window1, there were two sets of the MainMenu. When I opened Window3, one of the MainMenu sets from Window1 disappeared, and when I opened Window4, it removed a MainMenu from Window2, and when I opened Window5 it removed a MainMenu from Window4.

If I check the MainMenu.MenuItems.Count, it returns 1.

Has anyone had this problem and know why its happening and how do I fix it?
 
New Post 9/26/2008 12:39 AM
  mattmichler
6 posts
No Ranking


Re: MenuItems multiplication (bug?) 
I figured out what was causing the issue. I was doing the following:

MyForm myForm = new MyForm();
myForm.Parent = this;
myForm.Show();


I took out the bold line and it stopped this behavior.
 
Previous Previous
 
Next Next
  Forum  Core :: SDK (Vi...   Let's Chat Abo...  MenuItems multiplication (bug?)

Visual Studop Partners

Copyright © 2005-2008 Visual WebGui®   Terms Of Use  Privacy Statement
Visual WebGui is copyright 2005-2008 by Gizmox