Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Adding properties and methods.
Message
De
18/01/2006 15:40:58
 
 
À
18/01/2006 12:57:36
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Novell 4.x
Database:
Visual FoxPro
Divers
Thread ID:
01087772
Message ID:
01088173
Vues:
9
>>Hi Dave,
>>
>>Thanks for providing me with a better understanding on this subject. I figured there were good reasons for not being able to modify class definitions through the form designer. Know that I know why, it's much easier for me to live with.
>
>Actually, you can add new methods to contained objects, via a builder. Like this - select a contained object first in the designer, and type this in the command window:
>
>
aSelobj(a)
>a[1].writemethod("newmethodname","lParameters zz",.t.)
>
>And you can even edit that method and add more lines to it. The problem is, as Fabio said, with the VCX loader, which will not load them next time you open the class in the designer. I've tried this before, and the extra methods in the contained objects were just gone. Probably when the class (or form) is compiled.

this proof thar don't exist a tech reason for don't support writemethod
at runtime, 90% of the job is ready
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform