Erase text in TextArea

This seems a really basic question, but I haven’t figured it out.
How do I erase the text in a TextArea control?



or if you want to erase only PART of the text…

myTextArea.SelStart = x // where X is the position of the 1st character
myTextArea.SelLength = y // where Y is how many characters to delete
myTextArea.SelText = ""

So obvious!


This and many other questions can be answered by checking the documentation :slight_smile: for the Old Framework for the New Framework

And there’s a bonus full-on manual in the Documentation folder included with every Xojo download!

Must be where I went wrong – I studied only the language reference, albeit extensively, checking every method and example. I evidently should have tried the user guide.