Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
alex_tr  
#1 Posted : Wednesday, November 20, 2019 8:07:07 PM(UTC)
alex_tr

Rank: Newbie

Groups: Registered
Joined: 10/30/2019(UTC)
Posts: 5

Thanks: 1 times
Hi,

About to buy iGrid. It is really fantastic!

Is there a way to control the highlighted fore color on a cell-by-cell (or row-by-row) basis?

I have a grid where the rows are displayed with different fore colors based on certain conditions (e.g. if an item is 'expired', row forecolor is red, etc.). When I select the rows (using row-level selection), the forecolor changes to HighlightForeColor setting regardless of what the unhighlighted forecolor was, whereas I would prefer for the forecolor to remain the same color as when it is in non-highlighted state.

Is there a way to do that?

Thanks.
Alex

Igor/10Tec  
#2 Posted : Thursday, November 21, 2019 1:52:49 PM(UTC)
Igor/10Tec

Rank: Administration

Groups: Administrators, Forum Moderator
Joined: 1/17/2011(UTC)
Posts: 1,111

Thanks: 15 times
Was thanked: 141 time(s) in 141 post(s)
Perhaps, you can implement what you need with the SelectionAlphaBlend property. It allows you to implement semi-transparent selection which will not change a lot the real foreground color of cells. try to play with the values of this property to adjust the desired effect.
Andrew Price  
#3 Posted : Tuesday, December 24, 2019 11:33:57 AM(UTC)
Andrew Price

Rank: Newbie

Groups: Registered
Joined: 6/9/2019(UTC)
Posts: 1
Location: West Midlands

Sorry I cannot find a reference to 'SelectionAlphaBlend' in the help.

Could you explain further please?
Igor/10Tec  
#4 Posted : Tuesday, December 24, 2019 3:42:11 PM(UTC)
Igor/10Tec

Rank: Administration

Groups: Administrators, Forum Moderator
Joined: 1/17/2011(UTC)
Posts: 1,111

Thanks: 15 times
Was thanked: 141 time(s) in 141 post(s)
Andrew, this is a section for the ActiveX edition of iGrid. You are using iGrid for .NET, and it uses the standard .NET way to specify semi-transparent colors in the ARGB format.
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.