Originally Posted by Vuelhering
I don't mind not hiding it... just curious if there's a known way to hook into it so I can call my own routines. (Doesn't have to be through LAM, I don't mind hooking into the base UI.)
Finally got the tooltip thing handled although I haven't been able to figure out how to read it.
The defaults button was one of those things left that's bugging me, though.
Thanks!
|
Check
X4D Chat addon code, it seem that Wilson0x4d found a way how to do it.
Lua Code:
ZO_PreHook("ZO_OptionsWindow_ChangePanels", function(panel)
if (panel == yourPanelId) then
ZO_OptionsWindowResetToDefaultButton:SetCallback(function()
--your code here
end)
end
end)