CRDBGrid problem
Posted: Mon 04 Jun 2007 13:42
We are using CRDBgrid in many places in our Delphi applications to show data from database. I found strange grid behaviour in case when grid working in multiselect mode. For some internal validations we are using property Grid.SelectedRows.Count. I found that when grid line was selected by mouse click Grid.SelectedRows.Count=1. But when grid line was selected by arrow up/down button Grid.SelectedRows.Count=0. Also selection symbol in 0 column different. Because we are using such validation in many places this behaviour makes inconsistence in validation. Can you help me forcing the grid working same regardless of the row selection kind?