I have a 2 custom functions but neither seem to work.
I have an Action on a text box control to set Style.Color with these expressions (tried both)
= EIT.EITNumberColourHex( Fields.pnFeesTotal )
I have also tried this
= EIT.EITNumberColour( Fields.pnFeesTotal )
But I get errors saying "Cannot find overload of function ..."
My functions headers are
[Function(Category = "EITFunctions", Namespace = "EIT", Name = "EITNumberColour", Description = "Returns number colours red,blue or black based on parameters", IsVisible = true)]
public static System.Drawing.Color EITNumberColour(decimal number, bool useColour = true)
[Function(Category = "EITFunctions", Namespace = "EIT", Name = "EITNumberColourHex", Description = "Returns number colours red,blue or black based on parameters in hex", IsVisible = true)]
public static string EITNumberColourHex(decimal number, bool useColour = true)
{
Can you anyone advise what am doing incorrectly?
Thanks
John