Wikia

WoWWiki

UIHANDLER OnTabPressed

102,770pages on
this wiki
Talk0
Widget handlers < OnTabPressed

Fires when tab is pressed

EditBox:OnTabPressed(self)

Example Edit

EditBox:SetScript("OnTabPressed", function(self)
    self:Insert("    "); -- (4 spaces)
end;

This will insert 4 spaces at your cursor's position. A tab character or \t will not work, therefore spaces are used.

Around Wikia's network

Random Wiki