Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Overriding a method in a class
Message
From
06/08/1998 12:05:37
 
 
To
06/08/1998 12:00:06
Shane Gilbert
Oklahoma State Department of Education
Norman, Oklahoma, United States
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00124505
Message ID:
00124512
Views:
19
>I want to add to the default behaviour for a class, how do I call the standard class method? Example - I have a command group class that moves around in a table, add, edit, delete. I want to override the add buttons functionality so that after the classes add code is run, I can do specific actions for the particular form/table.
>
>Shane

If you want to combine class button.click event code with you custom code then:
*** Form.Button.Click event
Dodefault() && run class code
=messagebox("your code here")
Edward Pikman
Independent Consultant
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform