FGUI和lua的使用问题,windows类show方法

请问如何在lua中使用show方法?

function Window1:new()
local o = fgui.window_class()
print("NewClass:".. tostring(o))
o.contentPane = UIPackage.CreateObject("Basics", "WindowA").asCom
--GRoot.inst:AddChild(o.contentPane);
print("contentPane:".. tostring(o.contentPane))
o.contentPane:Center()
o:Show() --不行
o.Show() --不行
return o
end
已邀请:

谷主

赞同来自:

错误百出,但都无关fairygui。lua自己学了。

要回复问题请先登录注册