Vladimir,
I use a txtReadOnly subclass of TextBox and I simply return .f. in the When. The control can never get focus for editting. If you want to allow the value to be copied from the control you can use code in the KeyPress() and NODEFAULT for all of the non-cursor movement keys. You can conditionally execute the code based on the ReadOnly value.
>When we have any control, which is read only, users attempts to edit something leads to message control is read only.
>I does not produce any error.
>For langusges , different from English it is not very convinient.
>I write lots of coding in my base classes to avoid this.
>Is it any less bludy way to fix this.
>Thanks in advance, Vladimir Zhuravlev