Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why Class's Method cannot return value?
Message
From
07/07/1999 08:41:57
 
 
To
07/07/1999 01:10:16
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00238098
Message ID:
00238196
Views:
10
>Hi,
> I just do as:
>
> Command1_Click
>
> myvar = thisform.myole.mymehtod (error)
>
> Class.Method
>
> RETURN 1
>
>Anything goes wrong??
>
>Thank you


I assume that (error) simply means that this is where you're getting your error. Try calling your method using parenthesis (sp?).

myvar = ThisForm.MyOle.MyMethod()
Sylvain Demers
Previous
Reply
Map
View

Click here to load this message in the networking platform