TextBox

Introduction

The TextBox control can be used to let the user enter text input such as a profile name.

Layout Requirements

The TextBox control requires:

  • An Text named TextInstance
  • An object named CaretInstance of any type

Although not required, the TextInstance should be contained within an object that has its Clips Children set to True. This can be a container within the TextBox, of the TextBox component can have its Clips Children value set to true.

Optionally, the TextBox can contain:

  • An object named SelectionInstance

TextChanged Event

The TextChanged event is raised whenever the Text on the TextBox changes. Keep in mind this occurs on every character changed, so if the user types multiple characters, the event will be raised for every character, as shown in the following code example: