I want to preselect all rows of the dbgrid so that if the user wants it, he can unselect some lines instead of
so I wrote this :
while not Request.Eof do
begin DBGR.SelectedRows.CurrentRowSelected := true;
so far so good. My DBGrid is correcly seen with all lines highlighted.
the problem arises when the user wants to unselect a row : he will naturally shiftclick it.
the oncellclicked event is fired and I can find out that the current row is unselected... but it remains highlighted !!!. The change will only be visible if I go to hit another row.
from me it looks like a persistant bug of Delphi. (I am running D4.03)
Does somebody has a turnaround for this?