How do you double backspace and remove text box (make non-visible)?

I am making a checklist app similar to Google Keep. I have it setup currently where I can type in a TextBox and press Enter/Return and the next TextBox will become visible immediately below it. I am trying to figure out how to press Delete/Backspace to clear the text in a text box and then press Delete again and have it make that TextBox.visible = false, and then shift the focus to the TextBox above it.

Basically, I want to use Enter to add extra TextBoxes vertically descending, and then use Delete/Backspace to remove TextBoxes ascending upwards. Anyone know how to use the Delete button to do this? I am trying to avoid using an actual Button to make TextBoxes non-visible and only rely on the Delete/Backspace key on the onscreen keyboard.

You can make an unlimited number of entries by making them ListView Elements, and use just a single textbox under the ListView for a new Element.

I will have to try that! Will that allow the delete function?

You can remove the last item from a list.

The Elements of a Listview are a list.

By the way, the line feed character is \n, in case you want to experiment with multi line text boxes and labels.

Just curious, how would you setup the block using the ListView? I am currently using the Taifun extension for the StartEnterPressedListener in order to show the next TextBox as visible, but it is very arduous.

Your app sounds like a To Do app.

I'm a big fan at having an Enter button, and not jumping at every keystroke.

Here's a simple one.

Maybe this extension can help you?

Use with an if textbox empty condition ?

(although it doesn't appear to work anymore...)