>>>Is there any way to create an array of objects directly with the Form Designer? I know the DIMENSION XX(...), XX[...]=CREATEOBJECT(...) way, but it´s not visual. I would like to be able to add an object specifying its name as ZZ[3], for example.
>>>
>>>Thanks!
>>Federico,
>>
>>I may be missing your point here, but isn;t the Controls() collection of the form already teh array of objects you are looking for. Every object you place in a fomr becomes a member of the controls collection.
>
>In FoxPro 2.6 I could set up an array on screen like NUMBER[1], NUMBER[2] ... and so on, and it generated code like @ ... GET NUMBER[1], @ ... GET NUMBER[2], etc. What I want to do is to emulate this with the least possible work! OK, so I´m lazy... ;)
Frederico,
You can still use SCATTER TO
in VFP, if you want to. I find it much faster and easier to drag and drop from the tables in teh Data Environment.