Widget API: EditBox:HighlightText

From AddOn Studio
Revision as of 11:47, 10 June 2006 by WoWWiki>Mikk ({{widgetmethod}})
Jump to navigation Jump to search

Widget API ← EditBox < HighlightText

Template:Stub/api

Highlights the text in a Textbox.

Params (start[, end]) Starts is the character to start highlighting at (0 => beginning), [end] is optional and defaults to the length. Thus:

Editbox:HighlightText(0);

will highlight the whole EditBox Content.