Originally Posted by Baertram
Code:
-- The current control is a texture at a popup dialog ZO_ListDialog1 (crafting station research popup e.g.)
if (string.find(parent:GetName(), "ZO_ListDialog1")) then
|
I don't understand what you're trying to do here...
Originally Posted by Baertram
Weird. I've tested with /zgoo mouse to see if the texture's variables and methods are ok.
SetHidden(false) was set:
-IsHidden = true ? But I can see it in the popup o0
-IsControlHidden = false -> Maybe this is why I can see it then....
-IsHandlerSet = false ? contol:SetHandler was done...
|
IsHandlerSet("OnClicked") should return true. Zgoo is not smart enough to know it requires a parameter.
Originally Posted by Baertram
Do I have to pre-hook the SetHandler somehow so it will work?
|
In short, no. Unless it already has one and you want to add a menu to what it already does.
Better make it simple for a start. Try adding the menu to ZO_PlayerInventoryInfoBarMoney (that's the amount of gold in your inventory).