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

From AddOn Studio
Jump to navigation Jump to search
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.

Revision as of 11:26, 7 June 2005

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.