Thanks for trying, but just in case this triggers a thought:
>But I think it should be possible to do the usual inheritance, and put conditional code in the parent class (that is, the one between the grandparent and the grandchild), to execute some code, or not.
>
Unfortunately, the parent class is one of the FFC classes. I don't want to muck with it at
all.
>Or perhaps you should inherit directly from what you now consider the "grandparent".
That would force me to duplicate all the other code in the parent class in the new grandparent class.
Bill Morris