>>>>>Hi everybody,
>>>>>
>>>>>I have a textbox on the form, which I'd like to behave as a label. I set ReadOnly property to .t., border to none and ForeColor to blue. Now for unknown reason it shows in black forecolor (I believe, it worked fine before). No code in base class or in the form. What else could it be?
>>>>>
>>>>>In the meantime I'll try to delete this textbox and re-add it.
>>>>
>>>>Ok, it didn't help :((( So, I just put a label instead of textbox :)
>>>
>>>Disabledforecolor
>>>Cetin
>>
>>Next time I'll try. I thought about it too, but I belive, it worked fine before, what's strange...
>>
>>Anyway, thanks.
>Nadya,
>in your TextBox.When method, RETURN .F. will also prevent focus.
Thanks, Terry. I decided to use plain label instead and it worked like a charm. But I will use this suggestion in a future.
If it's not broken, fix it until it is.
My Blog