Readonly textbox still has "I" insert bar icon
Posted on 2004-10-13
I am putting together a game GUI which contains several textboxes abstracting dice. As such, I want these textboxes to be read only - my program will be the only thing that writes to these text boxes.
I need these boxes to be enabled as I need to process mouse events that occure on these boxes. Also, I do not want the text to be muted - which happens when enabled=false. So I am running enabled = true, readonly = true. I've tried locked = true and false - my problem is the same.
The problem is - when the program starts all the readonly textboxes are empty. There is an "I" insert bar in the upper left most text box. If I type - nothing is echoed in the box - so I am confident the box is read only.
How do I get rid of the "I" bar?
Thanks in advance!