Jeroen #1 huh....I don't understand it.Where are you actually defining TrigFunction? Hmmmmf, I don't get the code example :-)