Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Missing Feature In VFP 7.0?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00697186
Message ID:
00697710
Vues:
17
A little mix-up in scope here. This wasn't about me. I was just pointing out to Jim that _VFP has no Forms property.

Alan

>Alan,
>
>you could try the following:
>
>
>x = _VFP.Objects(1)
>
>
>You don't have Intellisense on the x variable, but you can put x in the debugger's Watch window and see, if you can find anything usefull in there. You can also have a look at all objects in _VFP.Objects, to find other information. You get the count of the Objects collection with
>
>
>lnCount = _VFP.Objects.Count
>
>
>Update: Make sure you clear all references to the objects collection before closing any of the form or class designers. Otherwise you'll have to kill the VFP process, since it will hang ...
>
>HTH,
>Armin
>
>>>>>>In VFP 6.0 SP5 (or SP3?) the following code worked:
>>>>>>
>>>>>>MODI FORM (myform) NOWAIT
>>>>>>
>>>>>>FOR ln = 1 TO _screen.FormCount
>>>>>> IF _screen.Forms(ln).Name = "form1"
>>>>>> lo = _screen.Forms(ln)
>>>>>> EXIT
>>>>>> ENDIF
>>>>>>ENDFOR
>>>>>>lo.Caption = "I can change the form's caption in developer mode!"
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform