General information
Category:
Forms & Form designer
>>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... ;)
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only