Originally Posted by Shinni
Lua Code:
local b = WINDOW_MANAGER:CreateControlFromVirtual("asd", GuiRoot, "ZO_StatsDropdownRow") local a = WINDOW_MANAGER:CreateControl("asd2", GuiRoot, CT_CONTROL ) b:SetHandler("OnUpdate", function(...) d(123) end ) a:SetHandler("OnUpdate", function(...) d(456) end )
hmm the control from CreateControlFromVirtual works, but the other one doesn't...
|
Is there a difference between CreateControl and CreateControlFromVirtual?