Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Methods of a different form
Message
From
05/03/1998 14:24:56
 
 
To
05/03/1998 14:14:55
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00082558
Message ID:
00082783
Views:
39
>I saw no time difference between DO FORM and Formset.Addobject('frm','class').

That's what I was hoping.

Here's a related question for you, based on your syntax. I have not been using FormSets at all, mainly on published comments by Doug Hennig, as well as a lack of perceived need. What do you use FormSets for, and where do you find them useful? In particular, with the exception of a shared DataEnvironment, what would be the advantages and disadvantages of using a FormSet versus an array of Forms?

FOR EACH loForm IN FormSet
loform.Whatever()
NEXT

versus

FOR lnI = 1 to ALEN(oApp.aForms)
oApp.aForms[lnI].Whatever()
NEXT

(neverminding my iteration routine - that's just there for illustration.)
David M. Stowell
Ravenslake Consulting
Chicago, Illinois

e-mail: davidstowell@ravenslakeconsulting.com
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform