Thread Tools Display Modes
10-16-10, 08:17 PM   #1
blacknight
A Murloc Raider
AddOn Author - Click to view addons
Join Date: Feb 2005
Posts: 8
adding buttons to existing windows...

so ive been trying to keep rpg-outfitters characterprofiler updated for the WoWRoster but im having an issue some time ago buttons stoped appearing on the character and guild screen... this is the code i have

Code:
		local button = CreateFrame("Button","rpgoCPUISaveButton",PaperDollFrame,"UIPanelButtonTemplate");
		button:SetPoint("TOPLEFT",PaperDollFrame,"TOPLEFT",10,10);
		button:SetHeight(20);
		button:SetWidth(40);
		button:SetToplevel(true);
		button:SetText(RPGOCP_SAVE_TEXT);
		button:Show();
any one have any ideas?
__________________
  Reply With Quote
10-17-10, 08:22 AM   #2
Duugu
Premium Member
 
Duugu's Avatar
AddOn Author - Click to view addons
Join Date: Nov 2006
Posts: 851
Code works for character window. Must be something else.
  Reply With Quote

WoWInterface » Developer Discussions » Lua/XML Help » adding buttons to existing windows...


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off