View Single Post
10-23-17, 03:12 PM   #10
Fizzlemizz
I did that?
 
Fizzlemizz's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 1,877
Code:
local close = CreateFrame("Button", "$parentCloseButton", parentframe, "UIPanelCloseButton")
close:SetPoint("TOPRIGHT")
Edit: It will close(hide) the frame provided as parentframe.
__________________
Fizzlemizz
Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle, FauxMazzleHUD and Move Pad Plus.

Last edited by Fizzlemizz : 10-23-17 at 03:16 PM.
  Reply With Quote