Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADDOBJECT syntax
Message
From
04/03/1997 21:24:09
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00022867
Message ID:
00022869
Views:
43
>Add "LParameter param1,param2" to the INIT() of your class.

This is what I have. The problem is not with the class but the the ADDOBJECT() of oApp which does not have the additional parameters to pass lcParm1 and lcParm2 to the Timer object.

I thought the default behavior of ADDOBJECT() was passing the parameters to the Init() of the added object but it does not seems to be like that.

So, I'll have to add as many parameters I need for the Init() of Timer in the ADDOBJECT() method of oApp.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform