Skip to content

Dynamic Text Box

Non-Visible component
Category Requires Version
Dynamic Components API 21, Android 5.0 Lollipop 4

Overview

A component to create dynamic textboxes in Arrangements

Events

On Text Changed

Trigger when the text of a Dynamic TextBox changes

Params
id Number
text Text

Methods

Create Text Box

Create a Dynamic TextBox

Params
id Number
arrangement Component

Delete Text Box

Remove a textbox component with the given id.

Params
id Number

Get Enabled

Returns: Boolean

Get the Enabled status of a TextBox

Params
id Number

Get Font Size

Returns: Number

Get the Font Size of a TextBox

Params
id Number

Get Height

Returns: Number

Get the Height of a TextBox

Params
id Number

Get Text

Returns: Text

Get the Text of a TextBox

Params
id Number

Get Text Box By Id

Returns: Component

Returns the textbox referenced by its id.

Params
id Number

Get Width

Returns: Number

Get the Width of a TextBox

Params
id Number

Set Alignment

Update the Text Alignment of a TextBox. 0 = left, 1 = center and 2 = right.

Params
id Number
alignment Number

Set Background Color

Update the Background Color of a TextBox

Params
id Number
color Number

Set Enabled

Update the Enabled status of a TextBox

Params
id Number
enabled Boolean

Set Font

Update the Font of a TextBox

Params
id Number
bold Boolean
italic Boolean

Set Font Size

Update the Font Size of a TextBox

Params
id Number
size Number

Set Height

Update the Height of a TextBox

Params
id Number
height Number

Set Text

Update the Text of a TextBox

Params
id Number
text Text

Set Text Color

Update the Text Color of a TextBox

Params
id Number
color Number

Set Width

Update the Width of a TextBox

Params
id Number
width Number

Last update: November 9, 2022