Jump to content
Forgot your email address? ×
  • Create New...
  • 0

Problem "ListBoxEx" in python.



Hi i have 1 problem in python with function "ListBoxEx"


My problem is:


I have this array

		#sintax: title, desc/id, img
		self.logros = [
		[2,"Categoria1, titulo de prueba1","Descripcion logro1/11111",1],
		[2,"Categoria1, titulo de prueba2","Descripcion logro2/11111",1],
		[2,"Categoria1, titulo de prueba3","Descripcion logro3/11111",1],
		[3,"Categoria2, titulo de prueba1","Descripcion Logro1/222222",1],
		[3,"Categoria2, titulo de prueba2","Descripcion Logro2/222222",1],

Now i do...

			for a in self.logros:
				if int(pag) == int(a[0]): # if category == [x <---- this

Ok for now work fine and add the listbox, but... when i do:

	def __ClearFileList(self):

And then make again:

                        for a in self.logros:
				if int(pag) == int(a[0]): 

i can see the new and old list, the removeallitems doesnt work


Someone know why?




Sorry my bad english is someone know how repair i can give my code to see it or something.



Link to comment
  • Answers 0
  • Created
  • Last Reply

Top Posters For This Question

Popular Days

Top Posters For This Question

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


  • -15% Discount in Metin2 Dev Store (01/10/2021 => 31/12/2021) => Code => 15_PCT_OCT_TO_DEC_2021

  • Read our Rules
  • Activity

    1. 1

      [HELP] Costume bonusing with item not working

    2. 10

      Fix Taskbar Highlight Python

    3. 13

      Reduce server memory usage

    4. 87

      How To Enchant & Transform Costume

    5. 2

      Old m2 function

  • Recently Browsing

    • No registered users viewing this page.

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.