Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
VFP 7 Beta 1 Formcount and _SCREEN
Message
 
To
26/06/2001 14:11:28
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00523544
Message ID:
00523720
Views:
20
>Mark,
>You should go a little deep to reach form ref :
>
FOR EACH oObject IN _vfp.objects
> FOR EACH oSub IN oObject.Objects
>  FOR EACH oSub1 IN oObject.Objects
>   IF oSub1.Baseclass = 'Form'
>     ? oSub1.Caption
>   endif
>  endfor
> endfor
>endfor
However I use a simplier one I forgot to say :
>
>ON KEY LABEL 'f2' oForm1 = SYS(1270)
>ON KEY LABEL 'f3' oForm2 = SYS(1270)
>ON KEY LABEL 'f4' oForm3 = SYS(1270)
>
>Go on forms I desire and 'F2','F3','f4'...
>Cetin

Cetin,

How in blue blazes did you find that? When I saw your post (and knowing you as I do), I said, "OK, he's knows something here", and went off trying to find out (via the usual sources). Nothing! Objects isn't documented anywhere in the MSDN Library. I tried the debugger (and something slightly similar to your code above). All I saw was the Objects property. C'mon, share. How did you find this?:-)
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform