Hi,
in the appstylist I found the "HotTrackSelected" state that changed my forcolor to the one that I wanted.
To overwrite the forecolor for each tab page I changed the resulutionOrder to: ControlThenApplication
How can I programatically found that "HotTrackSelected" ?
I see and can change all other states for example:
ultraTabControl1.ActiveTab.ActiveAppearance.ForeColor = Color.FromArgb(0,146,208);
That Change only the forcolor, if I move the mouse away from the selected tab.
I try things like that:
ultraTabControl1.HotTrackedTab.Appearance.ForeColor = Color.FromArgb(0, 146, 208);
ultraTabControl1.Tabs[0].HotTrackAppearance.ForeColor = Color.FromArgb(0, 146, 208)
but I need something that not exists:
ultraTabControl1.HotTrackedSelectedTab.Appearance.ForeColor = Color.FromArgb(0, 146, 208);
ultraTabControl1.Tabs[0].HotTrackSelectedAppearance.ForeColor = Color.FromArgb(0, 146, 208)
Any ideas?
Cheers
Ralf
Hello Ralf,
I am unsure of exactly why you are unable to find the HotTrackSelectedAppearance property of the UltraTab instances that exist in your UltraTabControl. This property does exist in the latest version of Infragistics for Windows Forms 2017.2, and as it sounds like you are looking to apply different hover-colors to the UltraTab elements depending on whether or not they are selected, this should achieve the functionality you are looking to achieve.
It is also possible that you are using a different version than the latest version of Infragistics for Windows Forms. If so, it may be helpful if you can list the version number of the controls that you are using. I am attaching a sample project that demonstrates usage of this property. This sample project was built against version 17.2.20172.2006 of Infragistics for Windows Forms 2017.2.
Please let me know if you have any other questions or concerns on this matter.
UltraTabControlSelectedHotTrack.zip
Sincerely,AndrewSoftware Developer
Hello Andrew,
yes the Version, that is my issue. I'm using V12.1 not 17.2 and it looks like in V12.2 exactly this property is missing.
Now I have a bigger issue, I can't update to 17.2.
But thank you for your help finding the issue.
PS: Before you ask why I can not update. Most of my colleagues sit in the US and use Telerik. My Manager from US said: With no issues you can use you Infragistics. (We only develop Tools internally for our own employees and not sell it) But if you will find an issues please update to Telerik he said. --> Infragistics update will cost: 1495$ and a new full Version of Telerik will us cost 1499$. So I have no argument to update. :(