Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Accessing the parentclass
Message
 
To
22/11/2000 15:48:52
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00444743
Message ID:
00445055
Views:
33
>Hi, everybody!
>I have a form wich is based on 2
>classes, when i'm pressing the button
>i want the code in the methode("SETMODE") of the parentclass
>to be executed . hOW DO I DO THAT!!!
>Thank U in advence.


Ilya,

If you want to run the code from the first class in the chain then you can try theclassname::themethodname(yourparms)
the double :: is used to call that class directly.
with dodefault() you call the same method of the parent class.
not the code from the grandparent.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform