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

Corrected the word, "line"
No edit summary
 
(Corrected the word, "line")
Line 1: Line 1:
To make your main frame closable with the ESCape key go into the OnLoad function and add the following lind :
To make your main frame closable with the ESCape key go into the OnLoad function and add the following line :


tinsert(UISpecialFrames,"MainFrameName");
tinsert(UISpecialFrames,"MainFrameName");


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