Jump to content
Maintenance ×
×
×
  • Create New...
  • 0

Some ideas for ComboBox


Raz

Question

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"].SetParent(self.board["board"])
		self.board["dropDown"].SetPosition(60, 280)
		self.board["dropDown"].SetSize(61, 18)
		self.board["dropDown"].SetCurrentItem(nano_interface.SERVERS_LIST_DICT[0]["name"])
		self.board["dropDown"].Show()
		self.board["dropDown"].ClearItem()
		for i in xrange(self.SERVER_COUNT):
			self.board["dropDown"].InsertItem(i, "%d - Server" % i)
			self.board["dropDown"].SetCurrentItem("%d - Server" % i)
			self.board["dropDown"].Enable()

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

Untitled.png

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

Link to comment
Share on other sites

  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

Popular Days

0 answers to this question

Recommended Posts

There have been no answers to this question yet

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
  • Recently Browsing   0 members

    • No registered users viewing this page.


  • Activity

    1. 3

      Back to the Dungeon System 7, 8, 9th Floor Problem

    2. 3

      Back to the Dungeon System 7, 8, 9th Floor Problem

    3. 3

      Back to the Dungeon System 7, 8, 9th Floor Problem

    4. 0

      Some mobs dont drop items

    5. 3

      Back to the Dungeon System 7, 8, 9th Floor Problem

    6. 691

      [Group] Daily Music - Share your favorite!

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.