Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Object arrays on screen
Message
De
05/08/1997 20:47:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00042938
Message ID:
00043281
Vues:
46
>>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... ;)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform