SmallMoneyFrame_OnLoad(self); MoneyFrame_SetType(self, "AUCTION"); SmallMoneyFrame_OnLoad(self); MoneyFrame_SetType(self, "AUCTION"); SmallMoneyFrame_OnLoad(self); MoneyFrame_SetType(self, "AUCTION"); self.UpdateTooltip = function() AuctionLite:BuyButton_OnEnter(self) end; self:RegisterForClicks("LeftButtonUp", "RightButtonUp"); AuctionLite:BuyButton_OnEnter(self); AuctionLite:BuyButton_OnLeave(self); AuctionLite:BuyButton_OnClick(self:GetID(), button); BuyQuantity:SetFocus(); if self:GetText() ~= "" then AuctionLite:AuctionFrameBuy_Search(); self:ClearFocus(); end BuyName:SetFocus(); if self:GetText() ~= "" then AuctionLite:AuctionFrameBuy_Search(); self:ClearFocus(); end FauxScrollFrame_OnVerticalScroll( self, offset, BuyButton1:GetHeight(), function() AuctionLite:AuctionFrameBuy_Update() end); AuctionLite:AuctionFrameBuy_OnUpdate();