>Hi!
>
>Since it's my first post here, i want to say that my native language is French so excuse my poor english.
>I want to know if it's possible to create dynamically the properties of a custom object.
>
>Something like: (i know this won't work)
>DEFINE CLASS test AS CUSTOM
>
>FOR x = 1 TO lnNb
> PROTECTED &laVar(x)
>ENDFOR
>
>
>Thanks,
>
>Vincent
Yes,VFP6 includes AddProperty()
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer