Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 7 Beta 1 Formcount and _SCREEN
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00523544
Message ID:
00523650
Views:
16
In both 5.0 and 6.0

_SCREEN.FORMCOUNT
and
_SCREEN.FORMS(X).NAME

work for me at design time. Don't have VFP 7 at work to check.

>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?
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform