Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP5 FormSet
Message
De
02/05/1997 13:43:08
 
 
À
02/05/1997 13:09:03
Jim Si
Alberta Research Council
Calgary, Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Divers
Thread ID:
00030658
Message ID:
00030665
Vues:
42
>I tried to build a set of forms to capture data from users' input. The speed and user interface are very important. The requirement is that when a user enter a code on a initial form, let's say "CODE1". The form CODE1 will show up. It the code is "CODE2" the form CODE2 will show up. The number of forms need to be activated defending on how many codes a user enters, and the number of forms to be loaded varies from 1 to 20 forms. What I try to do is that the system only activate the window as needded.
>
>I tried to use formset. But the problems is that I will have to load 20 forms one time. It will need some memory and slow down the system. My question is: Is that possible to use formset to load a form only when a user requests by entering the correspounding code. I recalled someone said that was possible. Any recommendations?
>
>Any other options to accomplish the same thing?
>
>Jim

You are on right track! Create Formset with one 'Initial' form, and use AddObject() to add other forms from pre-existing classes.
Edward Pikman
Independent Consultant
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform