Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to define a collection within a custom class?
Message
From
24/04/2001 11:09:13
Larry Long
ProgRes (Programming Resources)
Georgia, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Title:
How to define a collection within a custom class?
Miscellaneous
Thread ID:
00499048
Message ID:
00499048
Views:
45
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
Next
Reply
Map
View

Click here to load this message in the networking platform