Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object arrays on screen
Message
From
05/08/1997 20:47:53
 
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00042938
Message ID:
00043281
Views:
44
>>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
Map
View

Click here to load this message in the networking platform