Hi. I've run across several actions that don't work with the Windows API objects such as the editbox as well. This seems to be one of them.
I'd suggest one of two options that I can think of:
- use a variable of some sort to keep a copy of the text in the editbox when it's not needed (if you need the contents to be persistent,) and destroy it when it's not needed. You can create a new one and copy the variable into it when it's needed. You can also use variables to save the EditBox.SelectionStart and EditBox.SelectionEnd properties, and use EditBox.SetSelection() after creation to reset the cursor position to what it was.
- set it's position out of the visible layout area and disable it and/or turn the focus off of it when not needed. You can then move it back, enable it and/or turn the focus back on when needed.