Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Free Useful VFP Utilities
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Free Useful VFP Utilities
Divers
Thread ID:
00204696
Message ID:
00204696
Vues:
91
I've released a few free VFP utilities that everyone might find useful. They can be found in the files section under third party tools. Here is some info on all four:

Find Child Classes Utility
--------------------------
Using VFP's class browser it is extremely easy to find and modify the parent class of a particular child class; just select the child, right click on it and choose "Select parent class." But, what if you want to select a parent class and find all the children? This utility will allow you to do just that. It will search for subclasses in all class libraries of the directory you specify. The subclasses are presented in a list that you can double-click on if you wish to modify the class.

There are two versions of this utility. A standalone version, and a class browser addin.


Duplicate Class Utility
-----------------------
Anyone who has done much object oriented programming in VFP has needed to duplicate a class in the same class library at one time or another. Sometimes you need to make a quick backup, other times you'd like to create a new class with many of the same properties and methods as an existing class (I'm talking about sibling clases here, not cases where you need to subclass). Duplicating a class in a class library is a cumbersome process. From the class browser you are required to copy the class to a different class library, rename the new class, copy the class back to the original library and delete the copy still sitting in the other library. Yuck! Isn't there an add-in for the class browser to accomplish this without all the fuss? No! Just kidding, if you've read this far you know the answer is yes. Dupclass.app does just that. It will copy any class to the same library allowing you to rename the copy anything you like.


AddLibs Class Utility
---------------------
Adding several class libraries at a time to a project can be time consuming since VFP only allows you to add one library at a time. This utility will allow you to select a directory and add all the class libraries in that directory to the current project.


Find Code In Class Utility
--------------------------
Back in the DOS days it was easy to find any bit of code you were looking for. Since most everything was contained in prg's you would just fire up finder and easily display all prg's where you used "set talk on", for example. In VFP things have gotten a bit more difficult. Ever try to used VFP's finder or the Win95 find files to find some code in class libraries? It will tell you what class library it's in but not which class or method. If you have a few dozen classes in the same library this isn't much help at all. Enter the "Find Code In Class Utility". This utility will search for a string through all methods in all classes of a particular directory. It will present a list of the library, class, object and method the code is found in. You can even double click on the list and have the method open up, ready for modification. If you've ever made a modification to a parameter in a method and then been stuck looking through all your classes for calls to this method then this utility is for you.

Michael G. Emmons
memmons@nc.rr.com
Répondre
Fil
Voir

Click here to load this message in the networking platform