Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Creating Custom class
Message
De
03/06/2008 08:36:31
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
01321227
Message ID:
01321258
Vues:
15
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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform