Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Createobject() or Do Form?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00044319
Message ID:
00044418
Vues:
32
>Hi all!
>
>I have a theoretical question. What are the main differences, between
>running a form with
>myform=CreateObject("form") and
>Do Form myform.
>
>I mean, is there any bug using the first one, because I see it very rarely.
>
>TIA
>
>BB

I use both methods of showing a form. The main data entry or display forms are typically shown via the DO FORM command where small dialog box forms which are modal I typically use the Create/AddObject stuff. The reason for this is in the form designer you can create the DataEnvironment, in a form as a class, you'd have to add the DE via code after it's created and have the DE created somewhere else. That's why I only use Create/AddObject for modal dialog forms, no DE necessary.

Steve Despres
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform