local frameName = this:GetName(); this.time = _G[frameName.."Time"]; this.event = _G[frameName.."Event"]; this.HideButton = _G[frameName.."HideButton"]; this:GetHighlightTexture():SetAlpha(.15); EventTraceFrameEvent_OnEnter(this); EventTraceFrameEvent_OnLeave(this); EventTraceFrameEvent_OnClick(this); this:RegisterForDrag("LeftButton"); local eventTraceFrame = _G["EventTraceFrame"]; eventTraceFrame.moving = true; eventTraceFrame:StartMoving(); local eventTraceFrame = _G["EventTraceFrame"]; eventTraceFrame.moving = nil; eventTraceFrame:StopMovingOrSizing(); this:SetFrameLevel(self:GetFrameLevel() + 1); this:SetValue(0); this:SetValueStep(1); EventTraceFrame_OnLoad(this); EventTraceFrame_OnShow(this); EventTraceFrame_OnEvent(this, event, arg1, arg2, arg3, arg4, arg5, arg6, arg7, arg8, arg9, arg10, arg11, arg12, arg13, arg14, arg15); EventTraceFrame_OnUpdate(this, arg1); EventTraceFrame_OnKeyUp(this, arg1); this:RegisterForDrag("LeftButton"); local frame = _G["ScriptErrorsFrame"]; frame.moving = true; frame:StartMoving(); local frame = _G["ScriptErrorsFrame"]; frame.moving = nil; frame:StopMovingOrSizing(); ScrollingEdit_OnCursorChanged(this); ScrollingEdit_OnUpdate(this, arg1, this:GetParent()); this:HighlightText(0); this:ClearFocus(); ScriptErrorsFrame_OnLoad(this); ScriptErrorsFrame_OnShow(this);