Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Auto-generating Drop Menus from User Input
#1
I was hoping someone could help me with this. I am semi-experienced in coding, but I'll let you know if I don't understand something.

I want to make the drop down menus under the menu strip buttons have traits/names based on previously entered information from text boxes.

I'm trying to make a trading system for a game. So under the Trade tab, I would like it to list the names of the players that are entered manually in separate text boxes beforehand. Then, in each name, have the submenus generated by other previously entered information.

I hope this is explained well enough.

Thanks to all who reply! (If you need images, just request them)

-Blake
#2
I can help u if u are more specific.Send photo plss.Do u want it online or offline?If u want it online u will have to work alot.If u want it offline it will be easy like 10 lines of code.So be more specific.U can make the drop menu using a panel and saving the info using
Code:
My.Settings.String = TextBox1.Text
My.Settings.Save
<!-- s:ugeek: --><img src="{SMILIES_PATH}/icon_e_ugeek.gif" alt=":ugeek:" title="Uber Geek" /><!-- s:ugeek: -->
Code:
If Life.Text = "Live" Then
Happy.Visible = True
Else
Happy.Visible = False
End If
#3
Tracer, you may be making this more complicated than it needs to be. Instead of using settings, you can just use a button (the login button, perhaps) to add the players' names to the combobox using something like:

[code2=vbnet]ComboBox1.Items.Add(PlayerNameTextBox.Text)[/code2]
My Blog | My Setup | My Videos | Have a wonderful day.


Possibly Related Threads…
Thread Author Replies Views Last Post
  How can I set profile for a user??? mnxford 5 20,824 04-12-2013, 06:31 PM
Last Post: brandonio21
  How do I check if a user has a certain role in their profile kismetgerald 4 16,569 11-14-2012, 12:30 PM
Last Post: kismetgerald
  auto generated number jochen29 3 14,219 10-01-2012, 02:52 PM
Last Post: brandonio21
  i need help on making a launcher with auto updating function jamietjeh 2 12,364 12-16-2011, 07:24 PM
Last Post: xolara
  Computer User vbcodegeek 6 22,418 11-01-2011, 06:01 PM
Last Post: openeXpressions

Forum Jump:


Users browsing this thread: 1 Guest(s)