Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SetAllx call not to error when a method is not existing
Message
General information
Forum:
Visual FoxPro
Category:
Third party products
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01371961
Message ID:
01372258
Views:
16
>You forgot how to modify classes? <g>

LOL, no I have not in fact I took your suggestion and did try to wrap the line of code in a TRY-CATCH and I was able to go further. The original thought that stopped me from doing this was that this is a class hopefully used by lots of people so modifying something so generic was not my idea of a solution :). To continue the story, I found another error following the TRY-caught, I resolved this 2nd error and then commented out the TRY-CATCH for SetAllx and it was working fine for me then. I have no idea how a following error generate a previous error in this code. But all in all the thing is under control. Thanks.

>Yyou shouldn't include parenthesis in the second parameter. It's the name of the property to set.

Nope it did not work and the closing parenthesis is the trigger to flag SetAllx to process this is a method call.

Thanks.

FYI: I am using the original prg based class that Ken had originally provided.
Regards
Bhavbhuti
___________________________________________
Softwares for Indian Businesses at:
http://venussoftop.tripod.com
___________________________________________
venussoftop@gmail.com
___________________________________________
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform