WoW:API EditBox HighlightText: Difference between revisions

From AddOn Studio
Jump to navigation Jump to search
(Fixed the spam here)
mNo edit summary
Line 1: Line 1:
Highlights all the text in a Textbox.
Highlights the text in a Textbox.
{{API/Uncategorized}}
{{API/Uncategorized}}


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


'''Editbox:HighlightText(0);'''
'''Editbox:HighlightText(0);'''

Revision as of 10:40, 17 April 2006

Highlights the text in a Textbox. Template:API/Uncategorized

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.


Template:WoW API