byevjzts
8 years ago
Hi All

I am currently evaluating this product for our needs but the simplest of things is bugging me. I cannot find anywhere on how to change the forecolor of the header cells when hovering over the cell.

The reason for this is my design choice is to have black header cells with white text, which I have implemented successfully. However when i hover the mouse over said column header, it changes the forecolor to a default of dark blue which cannot be read easily on the black background.

My question is how do i change the on hover styling of the text?

Many thanks in advance

Phill
Igor/10Tec
8 years ago
First of all, note that iGrid's header tries to use the visual style of the OS. If you want to provide your own predefined colors, I would recommend that you turn off visual styles in the header by setting the iGrid.Header.UseXPStyles property to False.

Second, the iGrid.Header.HotTrackForeColor property can be used to set the desired color for the text in the active column header.

If you still can't get the desired effect, show us your code and a picture of what you get or need.
byevjzts
8 years ago
Originally Posted by: Igor/10Tec 


Second, the iGrid.Header.HotTrackForeColor property can be used to set the desired color for the text in the active column header.



There it is!

Thanks Igor that's exactly what I was after. I had already turned of the XP Styles for my own styling, just didn't realise it was HotTrackForeColor I was after.

Easy when you know how :)

Thanks again.

Phill