Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Methods of a different form
Message
De
05/03/1998 14:24:56
 
 
À
05/03/1998 14:14:55
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00082558
Message ID:
00082783
Vues:
43
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform