Wikia

WoWWiki

Watchlist Recent changes

API Frame EnableKeyboard

Main Menue



Frame:EnableKeyboard

Allows this frame to receive keyboard input via OnKeyUp and OnKeyDown. The frame must be shown to receive keyboard events. The frame receiving keyboard input is the only frame receiving keyboard input, which means for example if you show a frame that receives keyboard events, the character cannot move with the keyboard or use key bindings until that frame is hidden again.

It should also be noted that the frameStrata has to be at least DIALOG or higher for this to work.

frame:EnableKeyboard(enableFlag)

Parameters Edit

Arguments Edit

enableFlag 
Boolean - Whether to enable (true) or disable (false)

Pages on WoWWiki

94,193pages on
this wiki
Advertisement | Your ad here

Latest Photos

Add a Photo
55,622photos on this wiki
See more >

Recent Wiki Activity

See more >

Recent Questions

Around Wikia's network

Random Wiki