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

whenDynamic Text Box.On Text Changed id text do
Params
id Number
text Text

Methods

Create Text Box

Create a Dynamic TextBox

callDynamic Text Box.Create Text Boxidarrangement
Params
id Number
arrangement Component

Delete Text Box

Remove a textbox component with the given id.

callDynamic Text Box.Delete Text Boxid
Params
id Number

Get Enabled

Returns: Boolean

Get the Enabled status of a TextBox

callDynamic Text Box.Get Enabledid
Params
id Number

Get Font Size

Returns: Number

Get the Font Size of a TextBox

callDynamic Text Box.Get Font Sizeid
Params
id Number

Get Height

Returns: Number

Get the Height of a TextBox

callDynamic Text Box.Get Heightid
Params
id Number

Get Text

Returns: Text

Get the Text of a TextBox

callDynamic Text Box.Get Textid
Params
id Number

Get Text Box By Id

Returns: Component

Returns the textbox referenced by its id.

callDynamic Text Box.Get Text Box By Idid
Params
id Number

Get Width

Returns: Number

Get the Width of a TextBox

callDynamic Text Box.Get Widthid
Params
id Number

Set Alignment

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

callDynamic Text Box.Set Alignmentidalignment
Params
id Number
alignment Number

Set Background Color

Update the Background Color of a TextBox

callDynamic Text Box.Set Background Coloridcolor
Params
id Number
color Number

Set Enabled

Update the Enabled status of a TextBox

callDynamic Text Box.Set Enabledidenabled
Params
id Number
enabled Boolean

Set Font

Update the Font of a TextBox

callDynamic Text Box.Set Fontidbolditalic
Params
id Number
bold Boolean
italic Boolean

Set Font Size

Update the Font Size of a TextBox

callDynamic Text Box.Set Font Sizeidsize
Params
id Number
size Number

Set Height

Update the Height of a TextBox

callDynamic Text Box.Set Heightidheight
Params
id Number
height Number

Set Text

Update the Text of a TextBox

callDynamic Text Box.Set Textidtext
Params
id Number
text Text

Set Text Color

Update the Text Color of a TextBox

callDynamic Text Box.Set Text Coloridcolor
Params
id Number
color Number

Set Width

Update the Width of a TextBox

callDynamic Text Box.Set Widthidwidth
Params
id Number
width Number