Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need opinion/advice about instantiating forms
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Titre:
Need opinion/advice about instantiating forms
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01070570
Message ID:
01070570
Vues:
79
I'm having trouble understanding when it would be better to instantiate a form using the NEWOBJECT function (assuming the form has been subclassed) rather than DO FORM, or visa versa.

If I create a data entry form that's been saved to a .scx file, and the same form has also been subclassed, what are the benefits/downsides of calling the form using DO DataEntry.scx rather than
loForm = NEWOBJECT( "DateEntry", "C:\Developement\Myforms.scx" )
loForm.Visibile = .t.

In what scenarios would I choose one method of the other.

Thanks ahead of time for the advice.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform