Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can a method return a value?
Message
De
21/04/2000 09:10:43
 
 
À
20/04/2000 23:52:49
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00362123
Message ID:
00362202
Vues:
23
>Type correction:
>
>>For example, outside of the form:
DO FORM yourform NAME oYourForm LINKED
>>ReturnVal = o<b>Your</b>Form.SomeFunkyMethod
oYourForm is an object reference to that instance of your form.

Forgot to mention, that to return a value, you have to add the () at the end of the call.

RetVal = Form.SomeFunkyMethod()
Erik Moore
Clientelligence
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform