AndrewMozley
Programmer
I have a grid where the user can navigate down a column with a view to entering a value in the current cell. Some rows are description rows, so a value may not be entered, while others specify a product so a value can be entered.
I have set the ReadOnly property of the column in the AfterRowColumnChange() of the grid and this allows / disallows data entry (Thank you EzLogic), and I would also like now to colour the cells so that the ineligible cells are greyed out.
Setting the DynamicBackColor property of the Column shows which cells are eligible. However, if the user navigates up and down (with Uparrow, Dnarrow), the cell with focus always gets the backcolor of light blue (so it is no longer getting its colour from DynamicBackColor); I would like this navigation to continue to colour the ineligible cells a light gray.
Hope I have explained this properly! Thanks
I have set the ReadOnly property of the column in the AfterRowColumnChange() of the grid and this allows / disallows data entry (Thank you EzLogic), and I would also like now to colour the cells so that the ineligible cells are greyed out.
Setting the DynamicBackColor property of the Column shows which cells are eligible. However, if the user navigates up and down (with Uparrow, Dnarrow), the cell with focus always gets the backcolor of light blue (so it is no longer getting its colour from DynamicBackColor); I would like this navigation to continue to colour the ineligible cells a light gray.
Hope I have explained this properly! Thanks