Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How do I create an array as a property in a class
Message
De
24/02/2003 15:05:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00757121
Message ID:
00757161
Vues:
18
>I have the following code which I want to convert into a custom class.
>
>This is an extract of the code.
>
>DEFINE CLASS FileMgr AS custom
>
>*** Property Definitions
>PROTECTED ARRAY aFiles[1]
>PROTECTED cCurIniFile
>PROTECTED lNoCreate
>
>How can i add the array aFile as a property in my custom class using the visual designer. If i name the property as aFiles[1] I get an error.
>
>Regards,
>
>Stuart

David told you the way to do it. Maybe you already have a property named aFiles? Use the Class/Edit Property/Method... menu option and check out what's there.
Fred
Microsoft Visual FoxPro MVP

foxcentral.net
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform