Navigation menu
Personal tools
Not logged in
Talk
Contributions
Create account
Log in
Namespaces
WoW
Talk
English
Views
Read
Edit
History
More
Search
Navigation
Home
Random page
Help using wiki
Editions
for WoW
for WildStar
for Solar2D
Documentation
for WoW
for WildStar
Reference
WoW
⦁ FrameXML
⦁ AddOns
⦁ API
⦁ WoW Lua
WildStar
⦁ AddOns
⦁ API
⦁ WildStar Lua
Engine
Tools
What links here
Related changes
Special pages
Page information
Site
Recent Changes
Editing
WoW:UIOBJECT EditBox
(section)
Jump to navigation
Jump to search
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
=== Methods === * [[API EditBox AddHistoryLine|EditBox:AddHistoryLine("text")]] - Add text to the edit history. * [[API EditBox ClearFocus|EditBox:ClearFocus()]] - Removes text input focus from this editbox element. * [[API EditBox GetAltArrowKeyMode|EditBox:GetAltArrowKeyMode()]] - Returns value of '''ignoreArrows''' attribute, in 1/nil format. * [[API EditBox GetBlinkSpeed|EditBox:GetBlinkSpeed()]] - Returns value of '''blinkSpeed''' attribute. * [[API EditBox GetHistoryLines|EditBox:GetHistoryLines()]] - Get the number of history lines for this edit box * [[API EditBox GetInputLanguage|EditBox:GetInputLanguage()]] - Get the input language (locale based not in-game) * [[API EditBox GetMaxBytes|EditBox:GetMaxBytes()]] * [[API EditBox GetMaxLetters|EditBox:GetMaxLetters()]] - Returns value of '''letters''' attribute. * [[API EditBox GetNumLetters|EditBox:GetNumLetters()]] - Gets the number of letters in the box. * [[API EditBox GetNumber|EditBox:GetNumber()]] - Returns number entered in the editbox, or 0 if editbox text is not a number. * [[API EditBox GetText|EditBox:GetText()]] - Get the current text contained in the edit box. * [[API EditBox GetTextInsets|EditBox:GetTextInsets()]] - Returns list of left,right,top,bottom text insets. * [[API EditBox HasFocus|EditBox:HasFocus()]] - Returns true if the edit box has the focus. * [[API EditBox HighlightText|EditBox:HighlightText([startPos,endPos])]] - Set the highlight to all or some of the edit box text. * [[API EditBox Insert|EditBox:Insert("text")]] - Insert text into the edit box. * [[API EditBox IsAutoFocus|EditBox:IsAutoFocus()]] - Returns value of '''autoFocus''' attribute, in 1/nil format. * [[API EditBox IsMultiLine|EditBox:IsMultiLine()]] - Returns value of '''multiLine''' attribute, in 1/nil format. * [[API EditBox IsNumeric|EditBox:IsNumeric()]] - Returns value of '''numeric''' attribute, in 1/nil format. * [[API EditBox IsPassword|EditBox:IsPassword()]] - Returns value of '''password''' attribute, in 1/nil format. * [[API EditBox SetAltArrowKeyMode|EditBox:SetAltArrowKeyMode()]] * [[API EditBox SetAutoFocus|EditBox:SetAutoFocus()]] * [[API EditBox SetBlinkSpeed|EditBox:SetBlinkSpeed()]] * [[API EditBox SetFocus|EditBox:SetFocus()]] * [[API EditBox SetHistoryLines|EditBox:SetHistoryLines()]] - Set the number of history lines to remember. * [[API EditBox SetMaxBytes|EditBox:SetMaxBytes(maxBytes)]] - Set the maximum byte size for entered text. * [[API EditBox SetMaxLetters|EditBox:SetMaxLetters(maxLetters)]] - Set the maximum number of letters for entered text. * [[API EditBox SetMultiLine|EditBox:SetMultiLine()]] * [[API EditBox SetNumber|EditBox:SetNumber(number)]] * [[API EditBox SetNumeric|EditBox:SetNumeric()]] * [[API EditBox SetPassword|EditBox:SetPassword()]] * [[API EditBox SetSpacing|EditBox:SetSpacing()]] - Sets the spacing, between multiple lines * [[API EditBox SetText|EditBox:SetText("text")]] - Set the text contained in the edit box. * [[API EditBox SetTextInsets|EditBox:SetTextInsets(l,r,t,b)]] * [[API EditBox ToggleInputLanguage|EditBox:ToggleInputLanguage()]]
Summary:
Please note that all contributions to AddOn Studio are considered to be released under the Creative Commons Attribution-NonCommercial-ShareAlike (see
AddOn Studio Wiki:Copyrights
for details).
Submissions must be written by you, or copied from a public domain or similar free resource (see
AddOn Studio Wiki:Copyrights
for details).
Cancel
Editing help
(opens in new window)