WoW:Make Frames Closable With the "Esc" Key: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Corrected the word, "line")
Line 4: Line 4:


where MainFrameName is the name of your main frame of the application.
where MainFrameName is the name of your main frame of the application.
[[Category: HOWTOs]]

Revision as of 21:50, 23 January 2006

To make your main frame closable with the ESCape key go into the OnLoad function and add the following line :

tinsert(UISpecialFrames,"MainFrameName");

where MainFrameName is the name of your main frame of the application.