textField.selectable not working

This is a really basic question, and I feel like I’m probably overlooking something extremely obvious.

I’m working on a text-based application, and it’s important that users aren’t able to muck about with certain portions of it. OK, I thought, I’ll just set textField.selectable=false right after I’ve created the text field.

For some reason, though, this has no effect at all - everything’s still selectable.

What am I doing wrong here?

Thanx.

what’s the instance name of your textField?

Thanks for the quick reply. When I went back to start cutting and pasting code, though, I saw the problem was that I’d been treating “selectable” as a TextFormat property, not a TextField property.

Nyyyurghh.

Well, I DID say it was obvious …