Thread: lua problem
View Single Post
10-27-10, 07:51 AM   #2
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 822
Code:
A1 = CreateFrame("Frame", nil, self)
A1:SetParent(UIParent)
The third arg to createframe is the parentframe.

Replace your two lines with

Code:
A1 = CreateFrame("Frame", nil, UIParent)
__________________
The cataclysm broke the world ... and the pandas could not fix it!
  Reply With Quote