Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Creating Custom class
Message
From
03/06/2008 08:36:31
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01321227
Message ID:
01321258
Views:
14
Hi Michele.

>Is it possible to create a custom class with property case sensitive ?
>If i write:
>Define Class Test As Custom
> GenerelNote = ""
>EndDefine
>
>I obtain a class with a property called generalnote.

For classes defined in a VCX, use the MemberData Editor in the Class menu to specify the case for property and method names. For classes defined in code, you have to create a _MemberData property yourself and populate it with XML describing the case for properties and methods; see the VFP help file for details. If you want to use the proper case in COM objects, see the VFP help file for the DEFINE CLASS command; COMATTRIB will take care of that for you.

Doug
Previous
Reply
Map
View

Click here to load this message in the networking platform