PRB: Class Names in VFP 5.0 are Case Sensitive (161359)
The information in this article applies to:
- Microsoft Visual FoxPro for Windows 3.0b
- Microsoft Visual FoxPro for Windows 5.0
- Microsoft Visual FoxPro for Windows 6.0
- Microsoft Visual FoxPro for Macintosh, Professional Edition 3.0
This article was previously published under Q161359 SYMPTOMS
When referencing an object class or base class for comparison, the class
name is case sensitive.
When testing the class property of a command button and comparing the
property setting to the string "commandbutton" rather than "Commandbutton,"
the code fails. The 'c' in Commandbutton must be capitalized.
RESOLUTION
The text used for comparison must match the property setting exactly.
STATUS
This behavior is by design.
Modification Type: | Major | Last Reviewed: | 12/3/2003 |
---|
Keywords: | KB161359 |
---|
|