General information
Category:
Object Oriented Programming
Yes, we do have SET CLASSLIB in the main program. I overlooked mentioning that it was open in my post.
>DEFINE CLASS col AS Column
> Name = "col"
> HeaderClass = "hdr"
> HeaderClassLibrary = "t:\baseclasses\grid.prg"
> ----> ADD OBJECT txt AS txt OF t:\baseclasses\baseclasses.vcx
>ENDDEFINE
I just checked the syntax for the ADD OBJECT clause of the DEFINE CLASS command and I don't see where it supports the OF clause.
[ADD OBJECT [PROTECTED] ObjectName AS ClassName2 [NOINIT]
[WITH cPropertylist]]
[[PROTECTED | HIDDEN]
This looks to be the source of the error.
John
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only