Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning a value from a custom method
Message
 
 
À
21/09/1998 19:52:42
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00139230
Message ID:
00139458
Vues:
28
>>How do I do the equivalent of "IF thisform.DoSomething() THEN..." where "DoSomething" returns .T. or .F.?
>>
>>It complains that "DoSomething" is a method, not a property.
>
>You shouldn´t have any problems; I do that kind of thing regularly. (For example, I have code like
IF ThisForm.PreInit()...
). Did you code it exactly as shown? Did you include the parenthesis? Maybe you could post the original code?
>
>HTH!

No, I forgot the parens. I figured that out when I went back to follow Ed's suggestion.

Thanks,

-Michelle
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform