Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning a value from a custom method
Message
De
21/09/1998 16:39:35
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00139230
Message ID:
00139239
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.
>>>
>>>Thanks,
>>>
>>>-Michelle
>>
>>Normally, it shouldn't complain, but you can use simple coding:
>>lRetvalue=Thisform.dosomething()
>>IF lRetvalue=.t.
>>ELSE
>>ENDIF
>
>I _think_ that fixed it. At any rate, I'm now getting an error inside the method instead.
>
>Now it's complaining that I need buffering... I _have_ buffering on... Sigh...
>
>Thanks,
>
>-Michelle

You may probably start new thread about buffering.
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform