Thread Tools Display Modes
Prev Previous Post   Next Post Next
12-11-21, 03:06 PM   #1
Platine
A Cliff Giant
AddOn Author - Click to view addons
Join Date: Dec 2010
Posts: 72
CreateFrame - frameType: GameTooltip

What's wrong with the code below?

CreateFrame("GameTooltip", "ST_Tooltip", UIParent, "GameTooltipTemplate");
ST_Tooltip:ClearAllPoints();
ST_Tooltip:SetPoint("CENTER", UIParent, "CENTER", 0, 0);
ST_Tooltip:ClearLines();
ST_Tooltip:AddLine("My frame", 1, 1, 1);
ST_Tooltip:AddLine("Second line", 1, 1, 1);
ST_Tooltip:Show();

I cannot see my frame on the screen.
  Reply With Quote
 

WoWInterface » Developer Discussions » Lua/XML Help » CreateFrame - frameType: GameTooltip

Thread Tools
Display Modes

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