Thread Tools Display Modes
Prev Previous Post   Next Post Next
04/14/14, 01:04 PM   #1
Wukar
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 27
Event Chaining

Hi,

i try to attach actions to already defined ui event, for example inventory tab clicks, without killing the already assigned actions. I saw a solution inside the InventoryMod (by Cr4x) but it looks cumbersome and may fail once another addon uses its own event storage.

The PreHookHandler, however, is not suitable in this scenario.

lua Code:
  1. -- that kills the default behavior
  2. ZO_PlayerInventoryTabsButton7:SetHandler("OnMouseUp", function() {}))
  Reply With Quote
 

ESOUI » Developer Discussions » Lua/XML Help » Event Chaining


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off