Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class Browser Basic Questions
Message
 
À
24/08/1999 00:08:29
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00256923
Message ID:
00256932
Vues:
16

The class browser adds a 1 button toolbar: Edit ParentClass Code. Once added, it stays there (even if I close the CB) and it's useful even when running the Form Designer. Is there an alternative way of firing up the Edit ParentClass Code toolbar without first firing up the CB?

Unfortunately not. You'll have to use the class browser. But there is the Superclass Utility that you can download from Ken Levy's web site (www.classx.com) that is essentially the same thing.

I'd like to fire up the CB automatically when I start up VFP. Just like I do with the PM now. But closing VFP with the CB open doesn't do the right magic in my resource file. Is there a way to make what I want happen or do I have to explicitly start it up each time I start VFP?

Well, you can create your own startup PRG that launches the browser (DO (_BROWSER)), but there is no automated way of doing this.

If I use the 'view code' button of the class browser, it nominally let's me edit the code I'm viewing, but the changes do not really take effect in the class stored in the library. So what exactly am I doing, if anything, when I modify the code I see with the view code button? and, is there any useful purpose for modifying the code I see under view code?

The "view code" button only shows the code for the entire class in one snippet. You could take this code and copy it to a PRG file. Editing it directly will not have any effect.

Regards,
Markus




Markus Egger
President, EPS Software Corp
Author, Advanced Object Oriented Programming with VFP6
Publisher, CoDe Magazine
Microsoft MVP since 1995
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform