>I have a class that contains a command button. I have placed this class onto many of forms with much success. Well now I have a form that I will need to add additional code to a couple of the methods in my class. I would like for the code that already exists to run, but include the code that I need to add. How do I do this without coping the existing code to there corresponding methods and then add the new code?
DoDefault() is often enough to run the inherited method.
In some cases, you may also need to a) Pass parameters to the inherited methods, b) check return value of the inherited method.
Examples:
a)
lparameters a, b
DoDefault(a, b)
b)
local llReturnValue
llReturnValue = DoDefault()
return llReturnValue
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)