Information générale
Catégorie:
Codage, syntaxe et commandes
>>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
>
>I know that OO in VFP is very good but some detail was forgot like visualy change for column, page and so on. I think that definition of class was in to but if in the next version of VFP we will able to add property in the object at run time {build in not a extern class like today} it will more easy to use object to pass parameters to a method or another object because the parameters never had the same stucture so we can't build a definition for all parameters you need.
Yes, you can. You can have a property that will be an object at runtime. So, the object can be anything, e.g. you have an amazing flexibility here.
Vlad
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement