Jump to content

Some ideas for ComboBox


Recommended Posts

Hi there, I just started making a select server in intrologin and I stopped at this problem, and I dont understand why what I did dosent work.

self.board = {
				"board"	: self.GetChild("board"),
				"ID"	: self.GetChild("id_editline"),
				"PW" 	: self.GetChild("pwd_editline"),
				"dropDown" 	: ui.ComboBox(),
def RefreshServerComboItems(self):
		self.SERVER_COUNT = 2
		self.board["dropDown"].SetPosition(60, 280)
		self.board["dropDown"].SetSize(61, 18)
		for i in xrange(self.SERVER_COUNT):
			self.board["dropDown"].InsertItem(i, "%d - Server" % i)
			self.board["dropDown"].SetCurrentItem("%d - Server" % i)

so the problem is when I press the black slot it dosent do anything ... it should dropdown as far as I know.


instead of inserting the items intro the comboBox it show the list in the lower side.

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Popular Days

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

  • Create New...

Important Information

Terms of Use / Privacy Policy / Guidelines / We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.