943,621 Members | Top Members by Rank

Ad:
  • VB.NET Discussion Thread
  • Unsolved
  • Views: 1023
  • VB.NET RSS
Jan 15th, 2009
0

adding items from combobox as submenu items

Expand Post »
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!
Reputation Points: 10
Solved Threads: 0
Newbie Poster
tableray is offline Offline
10 posts
since Jan 2009
Jan 15th, 2009
0

Re: adding items from combobox as submenu items

have you tried, .AddRange insted of .Add
Reputation Points: 10
Solved Threads: 0
Newbie Poster
tickle69 is offline Offline
3 posts
since Jan 2009

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in VB.NET Forum Timeline: string manip help
Next Thread in VB.NET Forum Timeline: Plese help me with vb.net





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC