View Single Post
05/14/17, 09:23 AM   #3
Alaren96
 
Alaren96's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2017
Posts: 8
Yes, tried that, and it doesn't work..

Code:
function EnchMaker.tooltip(ctrl,text)
    ctrl:SetHandler("OnMouseEnter", function(self) ZO_Tooltips_ShowTextTooltip(self, TOP, text) end)
    ctrl:SetHandler("OnMouseExit", function(self)  ZO_Tooltips_HideTextTooltip() end)
end

EnchMaker.tooltip(cboxControl,"Some Text")   -- Works
EnchMaker.tooltip(labelControl,"Some Text")   -- Doesn't work
  Reply With Quote