>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.