Fandom

WoWWiki

API EditBox SetFont

104,642pages on
this wiki
Add New Page
Talk0 Share

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.

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.

Also on Fandom

Random Wiki