General information
Category:
Coding, syntax & commands
Title:
Grids: SelectedBackColor of Columns and Controlsl
What is the relationship between DynamicBackColor of a column and SelectedBackColor of a control in a column? Which is the color that actually appears? (I assume it is the column's DynamicBackColor.)
In my grid, there are 5 columns, each of which has a text box that fills the column entirely.
I am using a DynamicBackColor applied to the grid columns.
The grid base class has 3 columns. For this grid, I added two additional columns beyond the 3 that are specified in the base class.
The problem is: for the 3 columns from the base class, the row's color is changing properly according to what I specified in the DynamicBackColor property of the column. For the 4th and 5th columns which I added to the grid, the row's color is changing when the row becomes selected or deselected, but the color is wrong. That is: the unselected back colors are all correct. The selected back colors are correct for the first 3 columns but are a different color for the 4th and 5th columns.
I have checked all the properties of the columns and the textboxes in the columns and can't find any differences. Yet I assume there must be, because the columns are behaving differently.
Any suggestions on where to look?
Thanks!
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only