Originally Posted by Phanx
and this is what I'm saying is absolutely pointless, and a bad programming habit besides.
|
Nope, not pointless, my build-in table now has frame atrrs, and table of original frame works as build-in
Code:
local title, M = ...;
local anotherFrame = CreateFrame("Frame", "SomeFrame", M);
another lua file, or addon
Code:
local M = SomeFrame:GetParent();