Last updated
Was this helpful?
Was this helpful?
TextBox textBox;
void CustomInitialize()
{
textBox = TutorialScreenGum
.GetGraphicalUiElementByName("TextBoxInstance")
.FormsControlAsObject as TextBox;
textBox.TextChanged += HandleTextChanged;
}
private void HandleTextChanged(object sender, EventArgs e)
{
FlatRedBall.Debugging.Debugger.CommandLineWrite(
$"Text changed to {textBox.Text}");
}