Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Overloaded methods
Message
From
21/07/2002 15:36:03
 
 
To
21/07/2002 08:29:19
Bob Tracy
Independent Consultant
Driftwood, Texas, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00680850
Message ID:
00680916
Views:
19
Hi Bob

Sorry, that doesn't help.

For example, if I put code in the 'init' method of a derived class, (or any class definition for that matter as in VFP one cannot create ones own base classes) then that method does not appear in the right pane, which is a right pain.

In the class that I have created I have a shell function/procedure, which has three parameters passed to it. After that the procedure performs the same type of operation (import data from non-dbf to dbf) but with different structures and import file types.

I want the shell function/procedure to be defined in the base class and a overloaded in each implimentation. What I was hoping is that the right pane of the class browser would show the function (perhaps in a different colour) that has been overloaded but it doesn't.

Strangely enough, if I add a function to derived class and then at a later stage add the same function to the base class it remains in the right pane.

Unfortunately, in my case, I will be deriving approximately 85+ of these overloaded classes (17 sets of 5+) and it would be nice to see that I have completed each one. At run time these objects may or may not be created.

In the larger scheme of things I would have thought it would be most benificial to see what has been overloaded.

Regards
Geoff Scott

>Geoff,
>
>Hope I understand your question correctly. There is a selection on the right-click menu of the Class Browser to select the parent class. HTH.
May all your weeds be wildflowers
Previous
Reply
Map
View

Click here to load this message in the networking platform