This commit is contained in:
2011-03-30 18:54:21 +00:00
parent 2fa637ab4d
commit 98ba49a249
3 changed files with 11 additions and 1 deletions

View File

@@ -783,9 +783,11 @@ namespace Volian.Controls.Library
if (highlight)
{
MyFlexGrid.StyleBackColor = Color.Gray;
MyFlexGrid.Styles.Fixed.BackColor = Color.Gray;
}
else
{
MyFlexGrid.Styles.Fixed.BackColor = MyFlexGrid.DefaultFixedBackgroundColor;
if (MyFlexGrid.Focused) // If active Set BackColor to the active color
SetActive();
else // Otherwise Set the BackColor to either the InactiveColor or the AnnotationColor