Setting Tab Header color in Winform - Pega Robotics
Hello- I am coming across an issue where I need to set the column header like- green or red etc. The issue is I need to use the DrawMode = TabDrawMode.OwnerDrawFixed and then paint it to color i want to use. Easily done using a script but the issue is this script requires 2 parameters
tabControl1_DrawItem(object sender, DrawItemEventArgs e) , can anyone suggest how we can pass the sender and event to the script.
I am facing issue with the script when I call it in Pega Studio. It says no event is recognized. I suppose we might need to see a way to pass the sender and event in the script which can be used by Pega.