Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Passing form property by reference
Message
De
10/07/1998 16:16:22
 
 
À
10/07/1998 16:05:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00116288
Message ID:
00116293
Vues:
16
You don't pass properties by reference, you pass the pointer to the form:

DO FORM Foo WITH THISFORM

In your Foo form:

LPARAMETERS oForm
oForm.Prop = "Some value"

HTH

>What is the syntax for passing a form property by reference?
>
>Foo(@THISFORM.prop)
>
>gives me an error. I've tried every combo I can think of (@THISFORM..prop, THISFORM.@prop, @(THISFORM.prop), ...). I give up, please tell me the syntax!!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform