Sounds so simple. Probably is, but...
How do I set the caption font color on a TabPage?
Here is a description:
I have a TabControl (System.Windows.Forms.TabControl) with multiple TabPage's. (System.Windows.Forms.TabPage) Each TabPage has its own name (Sales / Inventory / Production). On each TabPage, there are multiple controls. Each control basically consists of a checkbox (this field is relevant) and a text field (here is the value to use).
(The controls are actually more convoluted than that, as there are text or number or date fields available with pick-list buttons and then overall settings to define allow vs require as well as single vs multiple entries - but none of that is relevant to this discussion.)
What I want to have happen is that if any of the controls on a given page are activated, then the caption text for that given tab is red - otherwise it is the normal black. I have all the event handling in place, functioning fine - but I cannot find how to programmatically set the tab font color.
Thank you, thank you, thank you.
How do I set the caption font color on a TabPage?
Here is a description:
I have a TabControl (System.Windows.Forms.TabControl) with multiple TabPage's. (System.Windows.Forms.TabPage) Each TabPage has its own name (Sales / Inventory / Production). On each TabPage, there are multiple controls. Each control basically consists of a checkbox (this field is relevant) and a text field (here is the value to use).
(The controls are actually more convoluted than that, as there are text or number or date fields available with pick-list buttons and then overall settings to define allow vs require as well as single vs multiple entries - but none of that is relevant to this discussion.)
What I want to have happen is that if any of the controls on a given page are activated, then the caption text for that given tab is red - otherwise it is the normal black. I have all the event handling in place, functioning fine - but I cannot find how to programmatically set the tab font color.
Thank you, thank you, thank you.