• 0

    posted a message on UIDropDown Hyperlink Hover?
    I am wondering if there is a way to display a hyperlink's contents in a wow UIDropDown. Normally using a gametooltip this is easy enough...but the UIDropDown doesn't give you the option to use a hyperlink. Is there a way to do this?? Thanks in advance -

    sample code --
    for k in pairs(ITEM_LIST[1]) do
    info = UIDropDownMenu_CreateInfo()
    local name,link,rest = GetItemInfo(k);
    info.text = link .. " x"..getNumberOfItems(k);
    info.value = k
    info.tooltipTitle = name; --TODO how to make these into hyperlink data?
    info.tooltipText = link; --TODO ^^^
    info.tooltipOnButton = true;
    info.func = OnAuctionDropDownClick
    UIDropDownMenu_AddButton(info, level)

    SS of current versus what I'd like it to look like--
    Posted in: Lua Code Discussion
  • To post a comment, please or register a new account.