This.FontSize = 12 This.FontBold = .T. This.FontBold = NOT EMPTY(This.Value) This.FontBold = (This.vLastValue <> This.Value) This.FontName = IIF(This.Value # This.vLastValue "Arial", "courier new ")>I do not know if it is a bug or not, but I think is because you access the .value property and each time the .value property is accessed, it seems that resets the .selstart property. But, I am not sure, I just saw your code and tried it, and while typing in the textbox to check it, I saw that behaviour and thought of a workaround, I leave all bug reports to Fabio <g>