Fandom

WoWWiki

UIHANDLER OnTabPressed

105,021pages on
this wiki
Add New Page
Talk0 Share
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.

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.