BUG: Creating a Header Class Definition in a VCX Causes Error (131560)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
This article was previously published under Q131560 SYMPTOMS
When a visual class library (VCX) is edited programmatically and the VCX is
opened with the MODIFY CLASS command, Visual FoxPro is halted and an
exception error is generated.
CAUSE
The Exception error is the result of a programming error. The information
placed in the VCX under program control is erroneous. In particular,
creating a Header or a Column class as a visual class yields this error
because it is not possible to create these classes in a VCX.
RESOLUTION
Ensure that you are creating classes that are allowed in a visual class
library. Visual classes that cannot be created in a VCX require a container
to exist. They include:
- Column class
- Header class
- Page class
- Separator class
- OptionButton class
- DataEnvironment class
- Cursor class
- Relation class
You can however subclass all of these classes under program control.
STATUS
Microsoft has confirmed the fact that the product halts to be a problem in
the Microsoft products listed at the beginning of this article. We are
researching this problem and will post new information here in the
Microsoft Knowledge Base as it becomes available.
| Modification Type: | Major | Last Reviewed: | 9/30/2003 |
|---|
| Keywords: | kbBug KB131560 |
|---|
|