Hi, you could search the esoui files online for ItemToolTip:
Example from furniture:
https://github.com/esoui/esoui/blob/...s_keyboard.lua
There are others too.
OnMouseEnter:
Lua Code:
InitializeTooltip(ItemTooltip, control, RIGHT, -15, 0, LEFT)
if bagId and slotIndex then
ItemTooltip:SetBagItem(bagId, slotIndex)
end
OnMouseExit:
Lua Code:
ClearTooltip(ItemTooltip)
If your inventory item at slotIndex 27 is a fire staff of maple you can use this script in the chat to show the itemtooltip near the 1st inventory row:
Lua Code:
/script InitializeTooltip(ItemTooltip, ZO_PlayerInventoryList1Row1, RIGHT, -15, 0, LEFT) ItemTooltip:SetBagItem(1, 27)
Check this forum thread for more info how to put an ItemLink (you can get it via local itemLink = GetItemLink(bag, slotIndex)) to an tiemTooltip as well, or how to use popuptooltips:
http://www.esoui.com/forums/showthre...ht=ItemTooltip