TextBox
An Argon-backed text input field with rich editing capabilities.
Properties
| Property | Type | Default |
|---|---|---|
Name | string | "TextBox", Visible = true, Focused = false, Text = "", PlaceholderText = "Type here..." |
FontSize | any | 18, TextColor3 = Color3.new(1, 1, 1), BackgroundTransparency = 0 |
BackgroundColor3 | Color3 | Color3.new(1, 1, 1), PlaceholderColor3 = Color3.new(0.5, 0.5, 0.5) |
FocusColor3 | Color3 | Color3.new(0.02, 0.5, 1), TextXAlignment = Enum.TextXAlignment.Left |
TextYAlignment | EnumItem | Enum.TextYAlignment.Center, Font = Enum.Font.DefaultEngineFont, MultiLine = false |
ReadOnly | any | false, MaxLength = nil, TabSize = 4, AutoPairs = true, AutoIndent = false |
WordWrap | any | false, Validator = nil, Numeric = false, NumericMin = nil, NumericMax = nil |
NumericStep | any | 1, NumericPrecision = nil, Scrollable = false, ShowLineNumbers = false |
CornerRadius | any | 0, LineHighlight = true, MatchBrackets = false, EnableMinimap = false |
SelectAllOnFocus | any | false, BlurOnSubmit = true, ClearOnEscape = false, EscapeBlurs = false |
OnChange | any | nil, OnSubmit = nil, OnFocus = nil, OnBlur = nil, OnValidationError = nil |
OnSearch | any | nil, MaxHistory = 100 |
Functions
toArgon
Arguments
color, transparencyReturns
This function returns nothing.
propTable.render
Arguments
_, object, dt, _, renderer, datamodelReturns
This function returns nothing.
OnChange
Arguments
textReturns
This function returns nothing.
OnSubmit
Arguments
textReturns
This function returns nothing.
API
instance:toArgon(color, transparency)
instance:render(_, object, dt, _, renderer, datamodel)
instance:OnChange(text)
instance:OnSubmit(text)