Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to define a collection within a custom class?
Message
De
24/04/2001 11:09:13
Larry Long
ProgRes (Programming Resources)
Georgie, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Titre:
How to define a collection within a custom class?
Divers
Thread ID:
00499048
Message ID:
00499048
Vues:
46
How do I go about adding a collection to a custom class's definition?

What a want is something like...

DEFINE CLASS ViewInfo AS Custom
Name=''
ADD Object FieldInfo AS Collection
FieldInfo.FieldName=''
FieldInfo.FieldCaption=''
FieldInfo.Updatable=.f.
ENDCLASS

Where I can declare multiple instances of the FieldInfo Object containing info for each field in the view, etc...

Any ideas?

TIA,
Larry
L.A.Long
ProgRes
lalong1@charter.net
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform