ListView_Create,循环按钮。
如何加入点击事件,知道自己点击的是那个按钮?????SL:Print(cogin.w / 2, cogin.h / 2, "-----------------")
local ListView, Layout = toolNpcMainUi.About(npcid)
local ButtonList = toolButtonUi.Left(ListView, myArray, 1)
GUI:ListView_addOnScrollEvent(ListView, function(ListView, editbox)
SL:Print(ListView, editbox, "-------------")
end)
页:
[1]