Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ADDOBJECT syntax
Message
From
04/03/1997 21:16:10
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
ADDOBJECT syntax
Miscellaneous
Thread ID:
00022867
Message ID:
00022867
Views:
88
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?
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
Next
Reply
Map
View

Click here to load this message in the networking platform