PRB: Error When Properties are Evaluated at Design Time (191871)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 5.0a
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q191871 SYMPTOMS
Some object properties may evaluate in the design time mode and produce an
error message.
CAUSE
Any variables or arrays used in these properties are not in scope.
RESOLUTION
In the following example, declare the array, myarray, Public before placing
the class on the form. The following command typed in the Command window
accomplishes this:
PUBLIC ARRAY myarray[1]
STATUS
This behavior is by design.
REFERENCES
Visual FoxPro 6.0 Help; search on: "Properties window"
Modification Type: | Major | Last Reviewed: | 8/14/1999 |
---|
Keywords: | kbprb KB191871 |
---|
|