Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Naming methods and properties
Message
De
05/11/1999 10:11:03
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00287134
Message ID:
00287503
Vues:
19
>Here is something really wierd (you've probably already seen this). Add a method to a container class called REQUERY. Don't add a comment. Close the class, reopen it. VFP has added the following comment:
>Requeries the row source to which the ListBox or ComboBox control is bound.
>
>I also tried it with show. It added the comment and the show parameter as well.
>
>I'm not sure what the means, but found it interesting.

Yes, I've seen this for years. VFP doesn't distinguish between custom and native methods/properties in helping you comment what they do. I like it. I have a custom container class that creates a grid. The custom class has all the properties and methods of a grid. I didn't have to write the descriptions.
Some folks are very interested in separating their PEMs from VFP's. I don't think it should matter. After a while working with your framework classes, you may forget that the behaviors you have created didn't come with VFP...and that's good.
Charlie
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform