Information générale
Catégorie:
Gestionnaire d'écran & Écrans
>>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
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement