Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error Method of class.
Message
 
 
To
19/06/2000 14:09:42
Randy Riegel
Zimish Contracting
Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00381785
Message ID:
00381903
Views:
11
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform