Two Menu List on one skin problem - begginer question

  • Helo,


    I've got problem with managing menu list.


    My code looks like bellow:



    After execution screen looks like below:
    [Blockierte Grafik: http://img822.imageshack.us/img822/9276/startuik.jpg]


    I can switch between lists and on subslist I can make selection:
    [Blockierte Grafik: http://img51.imageshack.us/img51/7383/switchtosuble2.jpg]


    BUT ON FILE LIST I CAN'T MAKE ANY SELECTION:
    [Blockierte Grafik: http://img541.imageshack.us/img541/5199/backkj.jpg]


    What I do wrong?? Please explain me.

    "Reasonable people adapt themselves to the world.
    Unreasonable people attempt to adapt the world to themselves.
    All progress, therefore, depends on unreasonable people"


    ============
    SubsDownloader

    Einmal editiert, zuletzt von silelis ()

  • I found solution. It seems that in case of two Menu Lists You have to use class Menu list function down or up and sign them directly to key.


    My code is now:


    "Reasonable people adapt themselves to the world.
    Unreasonable people attempt to adapt the world to themselves.
    All progress, therefore, depends on unreasonable people"


    ============
    SubsDownloader

  • if you store the list name in the variable you can make the code a bit easier to read:


    Code
    self.selectedList = "fileList"
    ...
    	def goUp(self):         	 #additional function to add multi list selection possibility
    		self[self.selectedList].up()
    
    	def goDown(self):     	 #additional function to add multi list selection possibility
    		self[self.selectedList].down()

    Gruss
    Dre


    Boxen (im Einsatz): DM920, DM900, DMOne
    Developer Project Merlin - we are OpenSource