Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Newobject not returning an object
Message
 
 
To
07/08/2009 10:34:19
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
01416744
Message ID:
01416753
Views:
99
It means that the class init returns .F. and your TRY...ENDTRY in the Init hides the error.

>
>I am supporting a legacy app and have to occasionally set up new users from the command line in VFP.
>
>I have always used the follwing syntax to return an instance of the object.
>
>
>oAdmin = newo("localadminuser", "classes.prg")
>
>? oAdmin.Login("markyo", "lillian")
>
>However now oAdmin just contains a logical false instead of an object.
>I am at a loss as to why this is.
>Here is the class.
>Many Thanks
>
<snip>
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform