View Single Post
09-19-19, 06:12 PM   #4
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,871
Code:
List of button attributes
info.owner = [Frame]  --  Dropdown frame that "owns" the current dropdownlist
In the following you would want to pass the button, not the buttons owner (self instead of self.owner).

Code:
function SLFG_DungeonMenuClick(self)
    UIDropDownMenu_SetSelectedValue(self.owner, self.value)
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.
  Reply With Quote