PRB: Error When Properties are Evaluated at Design Time
Article ID: 191871
Article Last Modified on 8/14/1999
APPLIES TO
- Microsoft Visual FoxPro 5.0 Standard Edition
- Microsoft Visual FoxPro 5.0a
- Microsoft Visual FoxPro 6.0 Professional Edition
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"
Additional query words: kbVFp600 kbVFp500a kbVFp500 kbDesigner
Keywords: kbprb KB191871