View Single Post
08-28-09, 11:25 AM   #5
rossman
A Cyclonian
 
rossman's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 39
ok here is the layout and infopanel is in attachment

layout lua

-- Create the Frame
local cp = CreateFrame("Frame","CargoPanel_Frame");
cp:SetPoint("CENTER",UIParent,"CENTER",0,0);
cp:SetWidth(250);
cp:SetHeight(25);
cp:SetAlpha(1.0);

local rep = cargoShip("|cffffb366Ara|r Reputations")
rep:SetPoint("TOPRIGHT", CargoPanel_Frame, "TOPRIGHT", 0, 0)


I get my layout without an issue.
I get it to be moved to the infopanel.
I get an error message when it trys to show the panel.
.UI_InfoPanel_CargoPanel\nUI_InfoPanel_CargoPanel.lua:137: attempt to call method 'show' (a nil value)

Thank You again
Attached Files
File Type: lua nUI_InfoPanel_CargoPanel.lua (4.6 KB, 1016 views)