>>>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")
>
>This is VFP 3.0 and the button is within a command group within a class that I created and have dropped onto my form.
in VFP3 you can use scope resolution operator '::' to run class code.
Edward Pikman
Independent Consultant