Then probably this.refresh in scrolled would fix it.
Cetin
>Oh, but it is working fine... it scrolls, the scroll tab moves, focus returns to my textbox outside the grid... it's just the area I clicked in (either above the scroll tab or below it) turns back and stays black instead of staying grey.
>
>>>I have written a form with some specific handling routines. All focus automatically shifts OUT of grid (to text search box) when clicked within grid (after moving focus). I have also modified the SCROLLED method of the grid to catch display changes when clicking and/or dragging on the vertical scrollbar.
>>>
>>>This works except when I click somewhere on the middle of the scroll bar (not on the slidebox nor on either the top or bottom arrow... the grid moves accordingly but the inbetween area that I clicked on turns black and stays black. Where is that coming from?
>>
>>Peter,
>>Check your scrolled event code has some lockscreen or offending code that prevents scrolling do its work.
>>Cetin