Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Array of Objects
Message
From
01/09/1999 17:48:39
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00260373
Message ID:
00260381
Views:
12
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?
Previous
Reply
Map
View

Click here to load this message in the networking platform