adding items from combobox as submenu items

Please support our VB.NET advertiser: Intel Parallel Studio Home
Reply

Join Date: Jan 2009
Posts: 10
Reputation: tableray is an unknown quantity at this point 
Solved Threads: 0
tableray tableray is offline Offline
Newbie Poster

adding items from combobox as submenu items

 
0
  #1
Jan 15th, 2009
how to achieve that? when user clicks remove on the menustrip the available options (which are items of a combobox) are shown as its submenu items and when one of the items is selected its removed from the combobox as well. i could only come up with this which is ofcourse an error...

RemoveToolStripMenuItem.DropDown.Items.Add(ComboBox.Items)

please advise!
Reply With Quote Quick reply to this message  
Join Date: Jan 2009
Posts: 3
Reputation: tickle69 is an unknown quantity at this point 
Solved Threads: 0
tickle69 tickle69 is offline Offline
Newbie Poster

Re: adding items from combobox as submenu items

 
0
  #2
Jan 15th, 2009
have you tried, .AddRange insted of .Add
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Other Threads in the VB.NET Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC