Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do I create an array as a property in a class
Message
From
24/02/2003 15:09:48
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00757121
Message ID:
00757165
Views:
14
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
Previous
Reply
Map
View

Click here to load this message in the networking platform