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:09:48
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00757121
Message ID:
00757165
Vues:
19
Stuart,
Change ARRAY to DIMENSION - i.e.:
PROTECTED DIMENSION aFiles[1]
Rick

>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform