This works the same in 6 and 7. Forms() and FormCount only apply to running forms.
>In VFP 7 if I issue the commands:
>
>MODIFY FORM "c:\program files\microsoft visual studio\vfp98\form1.scx"
>?_SCREEN.FORMCOUNT
>
>It returns zero..
>
>Is there another way I can do this. I made a form converter in VFP6 that does something like...
>
>_SCREEN.FORMS(2).NAME=_SCREEN.FORMS(1).NAME
>_SCREEN.FORMS(2).COMMENT=_SCREEN.FORMS(1).COMMENT
>
>So I need the form count to work.
>
>
>Of course I can just use VFP6 but I was wondering if there is something I'm missing.
>
>Another thing is this _SCREEN object. A few times I have been able to browse
>the screens properties like a form in the property window. I don't know how I got it to come up..How does this work?
Mark McCasland
Midlothian, TX USA