Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error Method of class.
Message
 
 
À
19/06/2000 14:09:42
Randy Riegel
Zimish Contracting
Ohio, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00381785
Message ID:
00381903
Vues:
10
Hi Randy,

>It doesn't only happen in Init. I just used Init as an example. It is happening in ALL of my methods (mostly custom). Here is how I call the method:
>
>set classlib to "rdsapp.vcx"
>myApp = createobject("_WriteLog")
>.
>.
>myApp._WriteLog()
>
>
>----------------------------
>Method Code for _WriteLog()
>----------------------------
>lparameters cUser
>
>if pcount() = 1
> ** If I create an error here it does not call the error method of
> ** of this object.
>endif
>

If you call WriteLog without parameters, as you showed in your example, this code would never execute.
>
>---------
>Thanks
>Randy
If it's not broken, fix it until it is.


My Blog
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform