UIHANDLER OnTabPressed

Fired when the EditBox has editing focus and the Tab key is pressed OnTabPressed(self)

Arguments

 * self : Widget - EditBox widget for which the Tab button was pressed.

Example
The snippet below insert 4 spaces at the cursor's position when Tab is pressed. A tab character or \t will not work, therefore spaces are used. EditBox:SetScript("OnTabPressed", function(self)    self:Insert("    "); -- (4 spaces) end)