Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Cannot get ADDOBJECT to work
Message
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Cannot get ADDOBJECT to work
Miscellaneous
Thread ID:
00393920
Message ID:
00393920
Views:
45
I am trying to use the AddObject command to add a control to a grid programatically, but it keeps saying it cant find the class.

My Class (txtIncr) is in a Class Lbrary called AABASE01 in C:\KER and my app is in C:\DIS. I am able to use the classes from AABASE01 elsewhere in the application fine!!, for example dropping them onto forms etc.

I'm tring the following:
This.MyColumn.Addobject('txtIncr','c:\ker\aabase01\txtIncr)')
This.MyColumn.Addobject('txtIncr','c:\ker\aabase01.txtIncr)')

It sounds like I have this syntax wrong.

Any help appreciated.
Regards,
Gerard
Next
Reply
Map
View

Click here to load this message in the networking platform