Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Define Class in Methode and events ???
Message
De
28/03/1997 08:57:16
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00025966
Message ID:
00026021
Vues:
30
> But it's Very bad Because it force him to coding class definition in the > "prg" file instead of in the object. And I was thinking that when we use a > object oriented language all the coding can be in a object and we can > create a object(Class definition and instance) as fast and easly as a > variable. I know that it's possible to work arrond with this, but it's bad > anyway; Specialy when you want use a object for a parameter; you can't > create it when you want and wan you need. you are mixing several concepts visual programming (which is in-complete in VFP) and OO (which is rather good in VFP) creating classes in code using DEFINE doesn't make it less OO you can still use CREATEOBJECT to instantiate it and reference it like any other object note that you can also create classes in .vcx files "manually" e.g. column or page etc. Arnon
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform