Khalid,
By putting the function into a descendant you have overridden the function.
This is due to the most useful difference between functions and events
(Besides post and trigger). When you call an event the runtime finds the
event and flies up the ancestor tree to find the first ancestor to contain
that event (or to the closest overridden event). The event is fired in the
ancestor then its descendant event is fired and so on down to the bottommost
object. However functions are searched for from the bottom up and only the
first function found is executed.
Sheldon
> -----Original Message-----
> From: Khalid Al-Sonbul [SMTP:[EMAIL PROTECTED]]
> Sent: Friday, November 19, 1999 12:37 PM
> To: PFC SIG
> Subject: PFCSIG Override a function in PB 7
>
> 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. << File: Card for Khalid Al-Sonbul >>
> [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]