WoW:Make Frames Closable With the "Esc" Key: Difference between revisions
Jump to navigation
Jump to search
(Corrected the word, "line") |
(added category: HOWTOs) |
||
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.