>Hi there,
>
>I have a form with some textbox-controls on it (actually the sstextbox-class
>from vfpx). There is code in the Gotfocus- and in the Lostfocus-Event.
>I also use a resize control which I have used for more than 10 years.
>Now somethings strange happens while testing: The form-size changes to 9972 X 9972
>and all the code which was in the gotfocus-event is now in the lostfocus-event and viceversa.
>Does anybody kno what is happening there?
>
>Best regards
>
>Thomas
Sounds like a corrupted scx. Make sure that you never open the same project or form in two separate instances of VFP, that can make this kind of problems.