Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Simple class question
Message
From
11/01/1999 17:13:48
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
10/01/1999 20:30:42
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00173492
Message ID:
00174861
Views:
28
>PMFJI-
>I think hat the difference lies in the fact that one reference is changed through the Class browser, and the other in code. If I want to rearrange my class tree, I shouldn't have to edit method code to do it.
>

But another thing that scope resolution operator is that (AFAIK) it enables you to call some other class code, not necessarily the same method in the inheritance line of the class which calls it - i.e. you can call grandparentclass::resize() from a grandchild's refresh. If this kind of call was automatically switched when I change parent class in the class browser, I wouldn't like it (at least it should put some comment where it would do the change).

I think it's great we have two ways to do it: call parent code (dodefault()) or call any class code (class::method). They both have their ups and downs.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Reply
Map
View

Click here to load this message in the networking platform