>Thanks Erik for guiding me in the right direction. I've found the problem: assigning 3 - Both at the form ScrollBars property cause the _Screen form collection to increment by 2 (don't ask me why). As soon as I changed it back to 0 - None, _Screen.FormCount incremented by 1 after the form was created.
>
>If someone have a good explanation on why VFP react this way with ScrollBars = 3, it may be a good idea to add an entry in the UT KB.
>
>Thanks to all who participated in this thread.
>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.
Hi Sylvain,
Hadn't read this when I posted my other message. You might report this to MS as a bug. When I modified the form so that there are any sort of scroll bars, I got this behavior as well.
George
Ubi caritas et amor, deus ibi est