Text box

Insert and view a text at runtime

BrowseName
TextBox
SuperType
Element(Item)

Properties

Name BrowseName DataType Description
Text Text LocalizedText Text inserted and displayed
Text horizontal alignment TextHorizontalAlignment Text horizontal alignment Indicates where the text is positioned on the horizontal axis
Text vertical alignment TextVerticalAlignment Text vertical alignment Indicates where the text is positioned on the vertical axis
Value change behavior ValueChangeBehaviour Value change behavior Mode of updating text when the user writes in the text box. At end of typing: update the value after the user has pressed Enter with either physical or virtual keyboard (pressing Esc or clicking outside the object, the previous text is restored); When typing: in real-time when writing
Font family FontFamily Font Font family
Font weight FontWeight Font weight Font weight
Font italic FontItalic Boolean Enables/disables italics in the text
Font size FontSize Size Font size
Text color TextColor Color Color of the text to display
Border color BorderColor Color Color of the polygon border
Placeholder text PlaceholderText LocalizedText Text to display when the box is empty, typically an example or indication for the user
Control in read-only mode ReadOnly Boolean Enables/disables the read-only mode. If enabled, it is not possible to write in the text box but. For example, it is possible to select the existing text for copy-paste
Content Type ContentType Input type Content type. Normal: characters displayed; Password: characters hidden
Style Style String Graphic style applied to the control
Visible Visible Boolean (Inherited from Element)
Enabled Enabled Boolean (Inherited from Element)
Opacity Opacity Float (Inherited from Element)
Left margin LeftMargin Size (Inherited from Element)
Top margin TopMargin Size (Inherited from Element)
Right margin RightMargin Size (Inherited from Element)
Bottom margin BottomMargin Size (Inherited from Element)
Width Width Size (Inherited from Element)
Height Height Size (Inherited from Element)
Horizontal alignment HorizontalAlignment Horizontal alignment (Inherited from Element)
Vertical alignment VerticalAlignment Vertical alignment (Inherited from Element)
Rotation Rotation Size (Inherited from Element)

Events

Modified text

BrowseName
Modified text

Event that is triggered when the text is changed by the user