Forum Discussion

RodrigoJr's avatar
RodrigoJr
Occasional Contributor
7 years ago

Capture a background color and font color of the line in DBGrid

I have a functionality in the DBGrid when selecting a row and press a key this changes the background color and font color of the row has ben selected. The validation i need to apply is if pressing t...
  • tristaanogre's avatar
    tristaanogre
    7 years ago

    Next thing to try... just as a test...  what happens if, before you do the check for color, you put in a delay call... delay like 2000 milliseconds (2 seconds) and see what happens?  Could this be a timing issue where there is a time delay JUST enough that the validation is happening before the properties are updated?