Khalid,
The new GUI representation does make that a little grey <g>...
You (still) cannot "EXTEND" functions per se; you can only extend events.
That is why the "Edit/Extend Ancestor Script" option is always greyed out.
By virtue of having added script to the function in the descendant, you are
OVERRIING the function, not extending it. It just saves you the hassle of
having to recreate the function as new, and having to get all the details
exactly right like the ancestor function declaration. And it follows suit
with the handy 7.0 way of representing where there is code.
I said "per se" above, because (as always) there is still a way to "extend"
a function. You can first call the ancestor's function [Super::of_myfunc(
)] and then continue with your extended script (checking the return code
first if applicable).
Have fun,
~Sharon
--
Sharon Weinstrom Buntz | mailto:[EMAIL PROTECTED]
Cheat Sheet for PFC/PB Help | http://www.pfccheatsheet.com/
Khalid Al-Sonbul wrote:
>
> Hi all PFCers,
> How to override a function in the pfe level. The function is, as usual,
> implemented in the pfc level. I copied the code from the ancestor
> function and pasted it in the descendent's; however when I tried to
> uncheck the "Edit/Exetend ancestor script", it is always disabled. So,
> is there a way to override the function without touching the ancestor
> script.
>
> TIA and high a nice weekend.
> [EMAIL PROTECTED] HOSTED BY IIGG, INC. FOR HELP WITH LIST SERVE COMMANDS, ADDRESS
> A MESSAGE TO [EMAIL PROTECTED] WITH THE FOLLOWING MESSAGE: help pfcsig
> SEND ALL OTHER INQUIRES TO [EMAIL PROTECTED]