Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RETURN value from a METHOD?
Message
From
28/10/1999 22:27:17
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
 
 
To
28/10/1999 22:23:10
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00283548
Message ID:
00283559
Views:
9
Yep it is cept I thought I had that - sort of....

In the Method....

RETURN 1
or
RETURN 0

In the call method
If thisform.mymethod
do this
else
do that
endif

That gave me an error about being a method, event or property.

Why?

>Hi Peter,
>
>>Is there a way to get a RETURN value from a METHOD?
>
>Yes, just put a RETURN < eExpression > in your method, then do:
>
>leReturn = Thisform.Method()
>
>Is this what you were asking?
Peter Brama
West Pointe Enterprises

VFP is getting easier but STILL alot to learn!!
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform