Jump to content

Dimitar

Inactive Member
  • Posts

    5
  • Joined

  • Last visited

  • Feedback

    0%

Posts posted by Dimitar

  1. Hi, please, everything is Ok but i cant see tooltip at top of item in new drop dialog. I use unedited nevisor's class, can anyone help me? I think problem is there:

    		for i in xrange(min(3, ySlotCount)):
    			self.slotList[i].SetPosition(0, 30 + ySlotCount*32 - i*32)
    			if vnum != 1:
    				self.slotList[i].OnMouseOverIn = lambda arg = slot: self.OverInItem(arg) ####HEREEEEE
    				self.slotList[i].OnMouseOverOut = lambda arg = self.tooltipItem: self.OverOutItem(arg)
    			else:
    				self.slotList[i].OnMouseOverIn = lambda arg = localeInfo.MONETARY_UNIT0: self.OverInToolTip(arg)
    				self.slotList[i].OnMouseOverOut = lambda: self.OverOutToolTip()
    			self.slotList[i].Show()

    I tried edit it to:

    self.slotList[i].OnMouseOverIn = lambda arg = slot: self.OverInItem(vnum)

    But it still dont work, sysser is clear and tooltip works with yangs.

    Thanks

×
×
  • 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.