Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP 7 Beta 1 Formcount and _SCREEN
Message
 
À
26/06/2001 14:11:28
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00523544
Message ID:
00523720
Vues:
21
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform