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:UISUMMARY EditBox
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!
{{widget|EditBox}} == Summary == (See [[UIOBJECT EditBox|EditBox object information]] for details) == Methods == === Inherited UIObject Methods === [[UISUMMARY UIObject|UIObject object summary]] : [[API UIObject GetAlpha|UIObject:GetAlpha]] : [[API UIObject GetName|UIObject:GetName]] : [[API UIObject GetObjectType|UIObject:GetObjectType()]] - Get the type of this object - New in 1.10 : [[API UIObject IsObjectType|UIObject:IsObjectType("type")]] - Determine if this object is of the specified type, or a subclass of that type - New in 1.10. : [[API UIObject SetAlpha|UIObject:SetAlpha]] === Inherited FontInstance Methods === [[UISUMMARY FontInstance|FontInstance object summary]] : [[API FontInstance GetFont|FontInstance:GetFont]] : [[API FontInstance GetFontObject|FontInstance:GetFontObject]] : [[API FontInstance GetJustifyH|FontInstance:GetJustifyH]] : [[API FontInstance GetJustifyV|FontInstance:GetJustifyV]] : [[API FontInstance GetShadowColor|FontInstance:GetShadowColor]] : [[API FontInstance GetShadowOffset|FontInstance:GetShadowOffset]] : [[API FontInstance GetSpacing|FontInstance:GetSpacing]] : [[API FontInstance GetTextColor|FontInstance:GetTextColor]] : [[API FontInstance SetFont|FontInstance:SetFont]] : [[API FontInstance SetFontObject|FontInstance:SetFontObject]] : [[API FontInstance SetJustifyH|FontInstance:SetJustifyH]] : [[API FontInstance SetJustifyV|FontInstance:SetJustifyV]] : [[API FontInstance SetShadowColor|FontInstance:SetShadowColor]] : [[API FontInstance SetShadowOffset|FontInstance:SetShadowOffset]] : [[API FontInstance SetSpacing|FontInstance:SetSpacing]] : [[API FontInstance SetTextColor|FontInstance:SetTextColor]] === Inherited Region Methods === [[UISUMMARY Region|Region object summary]] : [[API Region ClearAllPoints|Region:ClearAllPoints]] : [[API Region GetBottom|Region:GetBottom]] : [[API Region GetCenter|Region:GetCenter]] : [[API Region GetHeight|Region:GetHeight]] : [[API Region GetLeft|Region:GetLeft]] : [[API Region GetNumPoints|Region:GetNumPoints]] : [[API Region GetParent|Region:GetParent]] : [[API Region GetPoint|Region:GetPoint]] : [[API Region GetRight|Region:GetRight]] : [[API Region GetTop|Region:GetTop]] : [[API Region GetWidth|Region:GetWidth]] : [[API Region Hide|Region:Hide]] : [[API Region IsShown|Region:IsShown]] : [[API Region IsVisible|Region:IsVisible]] : [[API Region SetAllPoints|Region:SetAllPoints]] : [[API Region SetHeight|Region:SetHeight]] : [[API Region SetParent|Region:SetParent]] : [[API Region SetPoint|Region:SetPoint]] : [[API Region SetWidth|Region:SetWidth]] : [[API Region Show|Region:Show]] === Inherited Frame Methods === [[UISUMMARY Frame|Frame object summary]] : [[API Frame CreateFontString|Frame:CreateFontString(["name"[,"layer"]])]] - Create and return a new FontString as a child of this Frame. : [[API Frame CreateTexture|Frame:CreateTexture(["name"[,"layer"]])]] - Create and return a new Texture as a child of this Frame. : [[API Frame CreateTitleRegion|Frame:CreateTitleRegion]] : [[API Frame DisableDrawLayer|Frame:DisableDrawLayer("layer")]] - Disable rendering of regions in the specified draw layer. : [[API Frame EnableDrawLayer|Frame:EnableDrawLayer("layer")]] - Enable rendering of regions in the specified draw layer. : [[API Frame EnableKeyboard|Frame:EnableKeyboard(enableFlag)]] - Set whether this frame will get keyboard input. : [[API Frame EnableMouse|Frame:EnableMouse(enableFlag)]] - Set whether this frame will get mouse input. : [[API Frame EnableMouseWheel|Frame:EnableMouseWheel(enableFlag)]] - Set whether this frame will get mouse wheel events. : [[API Frame GetBackdrop|Frame:GetBackdrop]] : [[API Frame GetBackdropBorderColor|Frame:GetBackdropBorderColor]] : [[API Frame GetBackdropColor|Frame:GetBackdropColor]] : [[API Frame GetChildren|Frame:GetChildren()]] - Get children of this frame. : [[API Frame GetEffectiveScale|Frame:GetEffectiveScale()]] - Get the scale factor of this object relative to the root window. : [[API Frame GetFrameLevel|Frame:GetFrameLevel()]] - Get the level of this frame. : [[API Frame GetFrameStrata|Frame:GetFrameStrata()]] - Get the strata of this frame. : [[API Frame GetFrameType|Frame:GetFrameType()]] - Get the type of this frame. : [[API Frame GetHitRectInsets|Frame:GetHitRectInsets]] : [[API Frame GetID|Frame:GetID()]] - Get the ID of this frame. : [[API Frame GetMaxResize|Frame:GetMaxResize]] : [[API Frame GetMinResize|Frame:GetMinResize]] : [[API Frame GetNumChildren|Frame:GetNumChildren()]] - Get the number of children this frame has. : [[API Frame GetNumRegions|Frame:GetNumRegions()]] - Return the number of Regions that are children of this frame. : [[API Frame GetRegions|Frame:GetRegions()]] - Return the regions of the frame (multiple return values). : [[API Frame GetScale|Frame:GetScale()]] - Get the scale factor of this object relative to its parent. : [[API Frame GetScript|Frame:GetScript("handler")]] - Get the function for one of this frame's handlers. : [[API Frame GetTitleRegion|Frame:GetTitleRegion]] : [[API Frame HasScript|Frame:HasScript("handler")]] - Return true if the frame can be given a handler of the specified type (NOT whether it actually HAS one, use GetScript for that) - Since 1.8. : [[API Frame IsClampedToScreen|Frame:IsClampedToScreen]] : [[API Frame IsFrameType|Frame:IsFrameType("type")]] - Determine if this frame is of the specified type, or a subclass of that type. : [[API Frame IsKeyboardEnabled|Frame:IsKeyboardEnabled]] : [[API Frame IsMouseEnabled|Frame:IsMouseEnabled]] : [[API Frame IsMouseWheelEnabled|Frame:IsMouseWheelEnabled]] : [[API Frame IsMovable|Frame:IsMovable()]] - Determine if the frame can be moved. : [[API Frame IsResizable|Frame:IsResizable()]] - Determine if the frame can be resized. : [[API Frame IsToplevel|Frame:IsToplevel]] : [[API Frame IsUserPlaced|Frame:IsUserPlaced()]] - Determine if this frame has been relocated by the user. : [[API Frame Lower|Frame:Lower()]] - Lower this frame behind other frames. : [[API Frame Raise|Frame:Raise()]] - Raise this frame above other frames. : [[API Frame RegisterAllEvents|Frame:RegisterAllEvents]] : [[API Frame RegisterEvent|Frame:RegisterEvent("event")]] - Indicate that this frame should be notified when event occurs. : [[API Frame RegisterForDrag|Frame:RegisterForDrag("buttonType"[,"buttonType"...])]] - Inidicate that this frame should be notified of drag events for the specified buttons. : [[API Frame SetBackdrop|Frame:SetBackdrop([backdropTable])]] - Set the backdrop of the frame according to the specification provided. : [[API Frame SetBackdropBorderColor|Frame:SetBackdropBorderColor(r,g,b[,a])]] - Set the frame's backdrop's border's color. : [[API Frame SetBackdropColor|Frame:SetBackdropColor(r,g,b[,a])]] - Set the frame's backdrop color. : [[API Frame SetClampedToScreen|Frame:SetClampedToScreen]] : [[API Frame SetFrameLevel|Frame:SetFrameLevel(level)]] - Set the level of this frame (determines which of overlapping frames shows on top). : [[API Frame SetFrameStrata|Frame:SetFrameStrata("strata")]] - Set the strata of this frame. : [[API Frame SetHitRectInsets|Frame:SetHitRectInsets]] : [[API Frame SetID|Frame:SetID(id)]] - Set the ID of this frame. : [[API Frame SetMaxResize|Frame:SetMaxResize(maxWidth,maxHeight)]] - Set the maximum dimensions this frame can be resized to. : [[API Frame SetMinResize|Frame:SetMinResize(minWidth,minHeight)]] - Set the minimum dimensions this frame can be resized to. : [[API Frame SetMovable|Frame:SetMovable(isMovable)]] - Set whether the frame can be moved. : [[API Frame SetResizable|Frame:SetResizable(isResizable)]] - Set whether the frame can be resized. : [[API Frame SetScale|Frame:SetScale(scale)]] - Set the scale factor of this frame relative to its parent. : [[API Frame SetScript|Frame:SetScript("handler",function)]] - Set the function to use for a handler on this frame. : [[API Frame SetToplevel|Frame:SetToplevel]] : [[API Frame SetUserPlaced|Frame:SetUserPlaced(isUserPlaced)]] - Set whether the frame has been relocated by the user (and will thus be saved in the layout cache). : [[API Frame StartMoving|Frame:StartMoving()]] - Start moving this frame. : [[API Frame StartSizing|Frame:StartSizing("point")]] - Start sizing this frame using the specified anchor point. : [[API Frame StopMovingOrSizing|Frame:StopMovingOrSizing()]] - Stop moving and/or sizing this frame. : [[API Frame UnregisterAllEvents|Frame:UnregisterAllEvents()]] - Indicate that this frame should no longer be notified when any events occur. : [[API Frame UnregisterEvent|Frame:UnregisterEvent("event")]] - Indicate that this frame should no longer be notified when event occurs. === EditBox Methods === : [[API EditBox AddHistoryLine|EditBox:AddHistoryLine("text")]] - Add text to the edit history. : [[API EditBox ClearFocus|EditBox:ClearFocus()]] : [[API EditBox GetAltArrowKeyMode|EditBox:GetAltArrowKeyMode]] : [[API EditBox GetBlinkSpeed|EditBox:GetBlinkSpeed]] : [[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]] : [[API EditBox GetNumLetters|EditBox:GetNumLetters()]] - Gets the number of letters in the box. : [[API EditBox GetNumber|EditBox:GetNumber()]] : [[API EditBox GetText|EditBox:GetText()]] - Get the current text contained in the edit box. : [[API EditBox GetTextInsets|EditBox:GetTextInsets]] : [[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]] : [[API EditBox IsMultiLine|EditBox:IsMultiLine]] : [[API EditBox IsNumeric|EditBox:IsNumeric]] : [[API EditBox IsPassword|EditBox:IsPassword]] : [[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 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()]] == Script Handlers == === Inherited Frame Script Handlers === [[UISUMMARY Frame|Frame object summary]] : [[UIHANDLER OnChar|OnChar]] : [[UIHANDLER OnDragStart|OnDragStart]] : [[UIHANDLER OnDragStop|OnDragStop]] : [[UIHANDLER OnEnter|OnEnter]] : [[UIHANDLER OnEvent|OnEvent]] : [[UIHANDLER OnHide|OnHide]] : [[UIHANDLER OnKeyDown|OnKeyDown]] : [[UIHANDLER OnKeyUp|OnKeyUp]] : [[UIHANDLER OnLeave|OnLeave]] : [[UIHANDLER OnLoad|OnLoad]] : [[UIHANDLER OnMouseDown|OnMouseDown]] : [[UIHANDLER OnMouseUp|OnMouseUp]] : [[UIHANDLER OnMouseWheel|OnMouseWheel]] : [[UIHANDLER OnReceiveDrag|OnReceiveDrag]] : [[UIHANDLER OnShow|OnShow]] : [[UIHANDLER OnSizeChanged|OnSizeChanged]] : [[UIHANDLER OnUpdate|OnUpdate]] === EditBox Script Handlers === : [[UIHANDLER OnCursorChanged|OnCursorChanged]] : [[UIHANDLER OnEditFocusGained|OnEditFocusGained]] : [[UIHANDLER OnEditFocusLost|OnEditFocusLost]] : [[UIHANDLER OnEnterPressed|OnEnterPressed]] : [[UIHANDLER OnEscapePressed|OnEscapePressed]] : [[UIHANDLER OnInputLanguageChanged|OnInputLanguageChanged]] : [[UIHANDLER OnSpacePressed|OnSpacePressed]] : [[UIHANDLER OnTabPressed|OnTabPressed]] : [[UIHANDLER OnTextChanged|OnTextChanged]] : [[UIHANDLER OnTextSet|OnTextSet]]
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)
Templates used on this page:
Template:Apinav
(
edit
)
Template:Editlink
(
edit
)
Template:Tocright
(
edit
)
Template:Widget
(
edit
)