PRB: Properties of a Class May Be Evaluated at Design Time (158405)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 5.0
This article was previously published under Q158405 SYMPTOMS
When placing a class on a form that has a list box or combo box that was
created by a Builder in the Visual FoxPro Class Designer, the following
error occurs:
Expression Evaluated to an Illegal Value
CAUSE
The Builder creates properties that reference the array, and Visual FoxPro
evaluates these properties at design time. The error occurs because the
array does not exist.
WORKAROUND
In the Visual FoxPro Class Designer, the ColumnCount property for both the
list box and the combo box, and the NumberOfElements property in the list
box can be changed to a specific number (for example, 0).
STATUS
Microsoft is researching this behavior and will post new information in the
Microsoft Knowledge Base as it becomes available.
Modification Type: | Major | Last Reviewed: | 12/11/1999 |
---|
Keywords: | KB158405 |
---|
|