>>>I have a form class where I have some code in the load method. If I put code in the load method of a form based on this class I lose the original code. How can I prevent this?
>>>
>>>Thanks
>>
>>You're in 3.0b? So DODEFAULT() won't work since it was introduced in 5.0. You'll have to use the "::" scope operator.
>>Example: MyOriginalForm::Load()
>>
>>Jose
>
>Thanks for the reply Jose, I have used the the method that Barbara Paltiel told me about and it worked very well and is easy to follow.
>
>Thanks
John,
Barbara explained you how to create a hook and she was right in doing so. I have lots of them in my framework. But sometimes you must overwrite a method's code and that's the purpose of the scope operator.
José