Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Newobject not returning an object
Message
 
 
À
07/08/2009 10:34:19
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
01416744
Message ID:
01416753
Vues:
97
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--
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform