Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Naming methods and properties
Message
 
À
05/11/1999 09:25:02
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:
00287474
Vues:
19
>I try to always use method names that are familiar so my own language requirements don't grow and grow.
>I add Release to controls that don't have them. I add Requery or Show as custom methods where I need that behavior. I have the Visual Interdev Scripting Ojbect Model on my wall so I have access to the MS naming of properties and methods from many other classes. So I commonly add methods and properties like:
>Advise()
>Submit()
>Move()

-snip-

Hi Charlie,

Well, that was also something I was thinking.

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.
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform