PRB: ADD OBJECT Syntax Error from Browser Code Snippet (156506)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q156506 SYMPTOMS
A code snippet exported by the Class Browser generates a syntax error if
the code uses the ADD OBJECT command to add an object to a container object
in a class. It appears that the Class Browser exported the code
incorrectly. In fact, Visual FoxPro has a language limitation that does not
allow the ADD OBJECT command to add an object to a container object in a
class definition.
CAUSE
Even though the Class Browser cannot produce actual working code in this
situation, it documents the intent of the class rather than omit the code
altogether.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 10/15/2003 |
---|
Keywords: | KB156506 |
---|
|