Wikia

WoWWiki

UIHANDLER OnLoad

Talk0
101,680pages on
this wiki

Description Edit

The OnLoad handler is called when a frame is created.

frame = CreateFrame("Frame"); -- frame created, OnLoad handler called
frame:SetScript("OnLoad", function() print("Frame loaded") end); -- never called

Arguments Edit

self - the frame being created

Around Wikia's network

Random Wiki