Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Save name of the calling form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00622735
Message ID:
00623109
Vues:
16
Hi Nadya

I use _VFP.ActiveForm and it works for me.
If Type("_VFP.ActiveForm")=="O"
   ThisForm.oCallingForm=_VFP.ActiveForm
Endif
Simon

>Hi everybody,
>
>I was using this code in Form's load:
>if type('_screen.ActiveForm.name')='C' && There is another active form
>   this.CallingFormName=upper(_screen.ActiveForm.name) && Called from some other form
>else
>   this.CallingFormName=''
>endif
>
>However, it returns "", though form is called from another form. Is there another way to know, what form is called from another form?
Simon White
dCipher Computing
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform