WoW:API EditBox HighlightText: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
mNo edit summary
({{widgetmethod}})
Line 1: Line 1:
{{widgetmethod}}
{{stub/api}}
Highlights the text in a Textbox.
Highlights the text in a Textbox.
{{API/Uncategorized}}


Params (start[, end])
Params (start[, end])
Line 9: Line 11:


will highlight the whole EditBox Content.
will highlight the whole EditBox Content.
----
{{WoW API}}

Revision as of 11:47, 10 June 2006

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.