http://www.perlmonks.org?node_id=919581


in reply to Change textfield from readonly and back

Try the ReadOnly() method on the textfield instead, eg:

$Settings_HomeDirTF->ReadOnly(1);