>>Might be the form is corrupted. You may try to remove and readd the editbox, or even recreate the whole form.
>
>That was what I finally did. I recreated the form and the problem disappeared. How exactly does a form get corrupted?
It happens sometimes. In some cases you might see some garbage characters in SCX (or VCX for classes) but I think in most cases it is just a mystery :)
>
>Always appreciate your reponse. Thanks.
You are welcome.
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro
"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison