WoW:API EditBox SetFont: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(New page: 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',...)
 
m (Added correct category)
Line 6: Line 6:


Please, read [[API_FontInstance_SetFont]] for more exact details.
Please, read [[API_FontInstance_SetFont]] for more exact details.
[[Category:Widget methods]]

Revision as of 19:35, 30 March 2009

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.