PDA

View Full Version : textField.selectable not working



Timothy Hill
July 11th, 2003, 05:39 PM
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.

ahmed
July 11th, 2003, 05:41 PM
what's the instance name of your textField?

Timothy Hill
July 11th, 2003, 05:53 PM
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 ...