I an using GWT 1.6.0.18.  I found no reference of this matter in
either the 1.7 release notes nor the issues tracking list.

I use a TextBox where I enter some text, then update a database record
with this data.  Once I successfully enter this data into the TextBox
and update the database, I want to set the TextBox readOnly.
Similarily, when I read a record from the database, if there is
already data in that field, I want to set that TextBox readOnly ...
and have it turn to a lightgray background.

I have serveral other TextBoxes which are initialized in the
constructor as readOnly and they display as expected with a light gray
background.

In the program, when I detect the condition that there is data in this
TextBox, I TextBox.setReadOnly(true).  That does, indeed, set the
field to be readOnly ... one cannot put a cursor into the TextBox such
that you cannot change anything in the TextBox.  However, it does not
turn the background to lightgray.

What do I need to do to cause it to turn, at that time, to  lightgray
background?

Defect or feature?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to