Wowpedia

We have moved to Warcraft Wiki. Click here for information and the new URL.

READ MORE

Wowpedia
m (Reverted edit of Butcher, changed back to last version by Fandyllic)
m (catfix, Replaced: {{widgetmethod}}<br> → {{widgetmethod}})
(5 intermediate revisions by 4 users not shown)
Line 1: Line 1:
  +
{{widgetmethod}}
Highlights all the text in a Textbox.
 
{{API/Uncategorized}}
 
   
 
Highlights the text in an EditBox.
   
  +
EditBox:HighlightText([start], [end])
Start begining at 0 [end] is optional.
 
   
  +
== Parameters ==
'''Editbox:HighlightText(0);'''
 
  +
=== Arguments ===
   
  +
:;Start : [Optional] Integer - the position at which to start the highlight and defaults to 0 if omitted.
will highlight the whole EditBox Content.
 
  +
:;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.

Revision as of 23:50, 14 July 2008

Highlights the text in an EditBox.

EditBox:HighlightText([start], [end])

Parameters

Arguments

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

The position before the first character is 0.

Leaving out both parameters, as in EditBox:HighlightText(), will highlight the entire EditBox content.