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:05:53
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00757121
Message ID:
00757161
Views:
14
>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
Previous
Reply
Map
View

Click here to load this message in the networking platform