This is very strange. Do you get this with any form, or just the form in question? If just the form in question, you should be able to break it down to the key difference and let us know what's going on.
If you get this with all forms, you need to reinstall VFP, but I doubt this is the case.
>_Screen.FormCount say 0 before the DO FORM Modem WITH Modem.PK line. As soon as this line is executed and I enter the form Load() event, _Screen.FormCount say 2.
>
>After my 2 forms are created:
>_Screen.Forms(1) = _Screen.Forms(2)
>_Screen.Forms(1) <> _Screen.Forms(3)
>_Screen.Forms(1) <> _Screen.Forms(4)
>_Screen.Forms(2) <> _Screen.Forms(3)
>_Screen.Forms(2) <> _Screen.Forms(4)
>_Screen.Forms(3) = _Screen.Forms(4)
>What does _SCREEN.Formcount say?
>>
>>Is _SCREEN.Forms(1) = _SCREEN.Forms(4)?
Erik Moore
Clientelligence