>>I have this line in one of my class:
>>
>>oApp.AddObject('oTimer','Timer',lcParm1,lcParm2)
>>
>>where oApp is my application object.
>>
>>The help says that we can pass some parameters to the ADDOBJECT() method.
>>
>>When I run this it says Parameter statement not found. When I look at the default ADDOBJECT() method of oApp, I see that it can only accept the reference name and class name but not the parameters.
>>
>>The help says we can but the default behavior can't.
>>
>>How can we pass parameters related to my example?
>
>Add "LParameter param1,param2" to the INIT() of your class.
And also to the AddObject method of oApp!
If we exchange an apple, we both get an apple.
But if we exchange an idea, we both get 2 ideas, cool...Gérald Santerre
Independant programmer - internet or intranet stuff - always looking for contracts big or small :)
http://www.siteintranet.qc.ca