Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Naming methods and properties
Message
From
05/11/1999 10:11:03
Charlie Schreiner
Myers and Stauffer Consulting
Topeka, Kansas, United States
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00287134
Message ID:
00287503
Views:
20
>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform