Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

gridlayout with combo box

 
Dustin Schreader
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm new to using gridlayout and combo boxs. I would like to get a combo box with three options, Saint Mary's hospital, Methodist, and both. Once an option is selected a search (textfield) will look through that certain list for certain names. This is what I have so far and I'm just trying to figure out how to get the combo box to appear.

 
Greg Brannon
Bartender
Posts: 563
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And you're using this code you've found as a model? Explain how this code is related to what you're trying to do.

Explain what's wrong with the code you've posted, how it's not doing what you want, error messages received, and why you think that may be happening, and we can help you fix it.
 
Dustin Schreader
Ranch Hand
Posts: 74
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok well, I decided to go with a different format because I like the gui better. I copied it from another source so now i'm trying to figure out how to get the drop down box in the upper left side and I do not need a button, I would like to have SMH, RMH, Both used as the pavilion when they are selected without having to click an apply type of button.
 
Greg Brannon
Bartender
Posts: 563
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for explaining that this isn't your code.

Why don't you try writing the code? There may be parts of what you've posted that you can use as examples for what will be in your program, including general guidance in how to code a GUI, but I recommend starting with your own program and adding what you need to it rather than taking someone else's code and modifying it to suit your needs, especially if you're trying to learn the language.

I'm not comfortable helping you modify someone else's code into something you'll call your own without knowing the originator is OK with it.
 
Campbell Ritchie
Sheriff
Pie
Posts: 48957
60
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think this question would sit better on our GUIs forum. Moving.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic