Wikia

WoWWiki

API EditBox SetFont

Talk0
101,310pages on
this wiki
Revision as of 19:35, March 30, 2009 by Bobalobabingbong (Talk | contribs)

(diff) ←Older revision | Latest revision (diff) | Newer revision → (diff)

To set the font for this object please see, API_FontInstance_SetFont.

Instead of using FontInstance:SetFont use MyEditBoxObject:SetFont. Eg:

 local MyEditBox = CreateFrame('EditBox', 'EditBoxGlobalName' or nil, ParentFrame or nil, EditBoxTemplate or nil)
 MyEditBox:SetFont(FontPath or nil, FontSize or nil, FontExtra or nil)

Please, read API_FontInstance_SetFont for more exact details.

Around Wikia's network

Random Wiki