Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Array of Objects
Message
De
01/09/1999 17:48:39
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00260373
Message ID:
00260381
Vues:
13
Hi Joseph,

>How do I scan an array that has an object reference for the passed object reference?

A recommended strategy (you sound like you may have most of this) :

Your form has an lFirstTime prop. Your ResizeControls method (or whatever does the scanning throug all controls does:
if !this.lFirstTime
   this.Buildlist()
   this.dotheresize
else
   this.dotheresize()
endif
Then the BuildList loops through the controls building the list. After you add your new object, reset lFirstTime, so the next time you resize its added. Will this work for you?
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform