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?

thanks,
Richard

myTextArea.Text=""

edit:
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!

Thanks!

This and many other questions can be answered by checking the documentation :slight_smile:
http://documentation.xojo.com for the Old Framework
http://developer.xojo.com 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.