PRB: @...GET...NAME Object References Change with Read Level (156178)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 6.0
This article was previously published under Q156178 SYMPTOMS
You may see the following error when referencing objects created using READ-
type code with the NAME keyword (DEFINE WINDOW...NAME and @...GET...NAME):
"Unknown member <objectname>"
This occurs in situations with multiple READ levels.
CAUSE
When objects are created using the NAME keyword, each one is added to a
page within a PageFrame control. The page number corresponds to the READ
level.
WORKAROUND
Reference objects in the following manner:
<FormName>.Pageframe1.Page<rdlevel()>.<ObjectName>.Property
See the MORE INFORMATION section below for details.
STATUS
This behavior is by design.
REFERENCES
For more information about using the NAME keyword with the DEFINE WINDOW
and @ GET commands, please see the following article in the Microsoft
Knowledge Base:
138780 How to Use the Name Argument of an @...GET in Visual FoxPro
Modification Type: | Major | Last Reviewed: | 12/3/2003 |
---|
Keywords: | KB156178 |
---|
|