Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning a value from a custom method
Message
From
21/09/1998 16:30:29
 
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00139230
Message ID:
00139232
Views:
29
>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
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform