WoW:API EditBox HighlightText: Difference between revisions

m
Move page script moved page API EditBox HighlightText to WoW:API EditBox HighlightText without leaving a redirect
(Fixed the spam here)
m (Move page script moved page API EditBox HighlightText to WoW:API EditBox HighlightText without leaving a redirect)
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
Highlights all the text in a Textbox.
{{widgetmethod}}
{{API/Uncategorized}}


Highlights the text in an EditBox.


Start begining at 0 [end] is optional.
EditBox:HighlightText([start], [end])


'''Editbox:HighlightText(0);'''
== Parameters ==
=== Arguments ===


will highlight the whole EditBox Content.
:;Start : [Optional] Integer - the position at which to start the highlight and defaults to 0 if omitted.
:;End : [Optional] Integer - the position at which to stop the highlight and defaults to the end of the string if omitted.


----
== Details ==
{{WoW API}}
 
The position before the first character is 0.
 
Leaving out both parameters, as in '''EditBox:HighlightText()''', will highlight the entire EditBox content.
Anonymous user