Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Instantiated screen
Message
De
09/12/1998 12:51:58
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00165657
Message ID:
00165664
Vues:
15
Nancy ----- How many instances of this form are up at any one time? If only one, then you could instance a generic version at app startup (with visible set FALSE) then just set those customized properties as appropriate and Form.Show()...


>We have a very nice instantiated form in our application which allows the form to be customized per the user definitions in the datadictionary. It is also a very complicated form with multiple spinners, multiple pages, and 10-30 tables in parent/child relationships.
>
>The customers love it, but we would like it to load faster. Everytime the form is opened, the entire form is instantiated. One thought is to create the form scx from the data dictionary - compile it so to speak - whenever the data dictionary is changed. Each time the form is loaded, it will not need to be instantiated, as it will already appear to be a defined form.
>
>We realize that we cannot compile a form from an exe - but if the methods were all predefined - we could conceivable copy those compiled methods to any new methods instantiated from the original.
>
>I am wondering if anyone has had any experience doing something similar? Do you know if the compiled code is hardcoded to specific objects- or if it would be transferable to a new object. As an example, the valid method for a given field - if we copied that compiled code to another record for a new field of same type - would it transfer to that new field? Can you think of any other concerns?
>
>Any comment/suggestions would be helpful.
>
>Thanks much,
>Nancy
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform